Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 27396 invoked from network); 19 Mar 2005 16:24:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Mar 2005 16:24:51 -0000 Received: (qmail 98875 invoked by uid 500); 19 Mar 2005 16:24:47 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 98852 invoked by uid 500); 19 Mar 2005 16:24:46 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 98838 invoked by uid 99); 19 Mar 2005 16:24:46 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 19 Mar 2005 08:24:45 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (8.12.11/8.12.11) with ESMTP id j2JGOfA4031139 for ; Sat, 19 Mar 2005 17:24:42 +0100 Received: (from nobody@localhost) by ajax.apache.org (8.12.11/8.12.11/Submit) id j2JGOfeY031130; Sat, 19 Mar 2005 17:24:41 +0100 Date: Sat, 19 Mar 2005 17:24:41 +0100 Message-Id: <200503191624.j2JGOfeY031130@ajax.apache.org> From: bugzilla@apache.org To: tomcat-dev@jakarta.apache.org Subject: DO NOT REPLY [Bug 34080] - JDBCRealm looses original exception, fabricates exception type X-Bugzilla-Reason: AssignedTo X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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