doku
authorrk <rk>
Tue, 25 Sep 2001 00:34:02 +0000 (00:34 +0000)
committerrk <rk>
Tue, 25 Sep 2001 00:34:02 +0000 (00:34 +0000)
source/mir/storage/Database.java

index f7c6ba8..104ae7b 100755 (executable)
@@ -1015,8 +1015,9 @@ public class Database implements StorageObject {
        }
 
        /**
-        * Liefert ein Connection-Objekt aus dem ConnectionPool.
-        * @return Connection Objekt.
+        * Returns Connection-Object out of the PoolBroker.
+   *
+        * @return Connection Object.
         */
        public Connection getPooledCon () throws StorageObjectException {
                if (myBroker != null) {
@@ -1024,7 +1025,7 @@ public class Database implements StorageObject {
                        if (con != null)
                                return  con;
                }
-               throw  new StorageObjectException("KEINE VERBINDUNG ZUR DATENBANK");
+               throw  new StorageObjectException("No connection to database!");
        }
 
        /**