Java Apache CVS Development wrote:
> 
>   User: dlr
>   Date: 01/02/04 19:03:34
> 
>   Modified:    src/java/org/apache/turbine/util/db/pool DBConnection.java
>   Log:
>   Slightly more efficient error handling.  Corrected tiny documentation
>   deviation which slipped in unnoticed during last commit.
<snip>
>            catch (Exception e)
>            {
>   -            Log.warn("Couldn't close database connection" + e.toString());
>   -            throw new SQLException ("Couldn't close database connection: " +
>   -                e.toString());
>   +            String errMsg = "Couldn't close database connection: " + e;
>   +            Log.warn(errMsg);
>   +            throw new SQLException(errMsg);
>            }

Maybe you could use TurbineException (or a custm derivate of it) ?

Rafal

--
Rafal Krzewski
Senior Internet Developer
mailto:[EMAIL PROTECTED]
+48 22 8534830 http://e-point.pl


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to