tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 34080] - JDBCRealm looses original exception, fabricates exception type
Date Sat, 19 Mar 2005 16:24:41 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34080>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34080


daniel.santos@pobox.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |remm@apache.org




------- Additional Comments From daniel.santos@pobox.com  2005-03-19 17:24 -------
Ahhh, thank you for that information.  That makes more sense.  So this reaml is
probably on track for deprecation then?  Which realm precisely are you referring
to?  My project is still using 5.0.28 and I can't change that until the
"Standards Committee" gets around to approving 5.5.

Please understand that I'm a quality freak and I have a hard time seeing stuff
like that and letting it go.  Also, I jacked around with this for a few hours
before I discovered that I was getting this exception because I didn't install
the jar file globally.

Also, another posible solution, although kinda ugly, is just to throw a new
SQLException("Can't load driver class") { public Throwable getCause() { return
e; } };  That would leave the exception type the same and pass the root cause. 
Or if we don't want the anonymous ugly thing, we can at least throw new
SQLException("Can't load driver class: " + e.class() + " " + e.getMessege());

Daniel

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message