From: rk Date: Tue, 25 Sep 2001 00:34:02 +0000 (+0000) Subject: doku X-Git-Tag: prexmlproducerconfig~434 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=77a14035319b72f572dbaacb207cf44ddc8419b6;p=mir.git doku --- diff --git a/source/mir/storage/Database.java b/source/mir/storage/Database.java index f7c6ba89..104ae7bd 100755 --- a/source/mir/storage/Database.java +++ b/source/mir/storage/Database.java @@ -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!"); } /**