}
/**
- * 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) {
if (con != null)
return con;
}
- throw new StorageObjectException("KEINE VERBINDUNG ZUR DATENBANK");
+ throw new StorageObjectException("No connection to database!");
}
/**