From 77a14035319b72f572dbaacb207cf44ddc8419b6 Mon Sep 17 00:00:00 2001 From: rk Date: Tue, 25 Sep 2001 00:34:02 +0000 Subject: [PATCH] doku --- source/mir/storage/Database.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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!"); } /** -- 2.11.0