From 64ce410b20a4cd81e764e86514f8a9c0c7933b84 Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Wed, 13 Feb 2008 17:06:27 +0000 Subject: [PATCH] * minor - more detail error message. --- base/src/org/compiere/util/DB.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/src/org/compiere/util/DB.java b/base/src/org/compiere/util/DB.java index aab7d9ba5a..a08b51e1d8 100644 --- a/base/src/org/compiere/util/DB.java +++ b/base/src/org/compiere/util/DB.java @@ -453,7 +453,7 @@ public final class DB if (conn == null) { - throw new IllegalStateException("DB.getConnectionRO - @NoDBConnection@"); + throw new IllegalStateException("DB.getConnectionRO - @NoDBConnection@. " + s_cc.getDatabaseException()); } return conn;