You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2002/07/21 00:57:01 UTC
DO NOT REPLY [Bug 9850] -
No way to get at SQLException if connection to database fails in DriverManagerConnectionFactory
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9850>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9850
No way to get at SQLException if connection to database fails in DriverManagerConnectionFactory
craig.mcclanahan@sun.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From craig.mcclanahan@sun.com 2002-07-20 22:57 -------
Fixed in nightly build 20020721.
I tweaked the exception class to follow the JDK 1.4 exception handler pattern
(getCause() instead of getRootCause()), and also replaced all cases where a
generic RuntimeException was thrown with a DbcpException that wraps the actual
exception causing the problem.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>