db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Rall <...@finemaltcoding.com>
Subject Re: cvs commit: db-torque/src/java/org/apache/torque/util BasePeer.java Transaction.java
Date Thu, 21 Aug 2003 22:25:26 GMT
jmcnally@apache.org writes:
...
>   1.9       +18 -9     db-torque/src/java/org/apache/torque/util/Transaction.java
>   
>   Index: Transaction.java
>   ===================================================================
>   RCS file: /home/cvs/db-torque/src/java/org/apache/torque/util/Transaction.java,v
>   retrieving revision 1.8
>   retrieving revision 1.9
>   diff -u -r1.8 -r1.9
>   --- Transaction.java	18 May 2003 12:27:24 -0000	1.8
>   +++ Transaction.java	3 Aug 2003 17:41:04 -0000	1.9
>   @@ -182,7 +182,7 @@
>        {
>            if (con == null)
>            {
>   -            log.error("Connection object was null. "
>   +            throw new TorqueException("Connection object was null. "
>                        + "This could be due to a misconfiguration of the "
>                        + "DataSourceFactory. Check the logs and Torque.properties "
>                        + "to better determine the cause.");

IllegalArgumentException might make more sense here.
-- 

Daniel Rall

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message