Re: [jetty-user] Missing nested Exceptions
Joakim Erdfelt <[email protected]> Wed, 16 Mar 2011 10:13:03 -0700
| Newsgroups | gmane.comp.java.jetty.support |
|---|---|
| Message-ID | <[email protected]> |
That would be a bug in the 6.x series of jetty. Now filed at http://jira.codehaus.org/browse/JETTY-1348 Note: Jetty 6.x is in security maintenance only now (It is only being updated for security related issues) This bug does not exist in Jetty 7.x (stable) series, and also is not present in Jetty 8.x (unstable servlet 3.x) series. More info on the various jetty versions can be found at the bottom of the Eclipse side Jetty / About page. http://www.eclipse.org/jetty/about.php - Joakim On Wed, Mar 16, 2011 at 8:38 AM, Udo Offermann <[email protected]>wrote: > Hi everybody, > > I am missing nested exceptions in the logs printed out by jetty (ver 6.1.23 > - actually I'm not missing exceptions at all, but... ;-) > Looking closer to the problem I found that for instant nested > RuntimeExceptions are not logged. It seems to me that > org.mortbay.log.Log::unwind() considers only nested exceptions that > contain one of the following methods: > > private static final String[] __nestedEx = > {"getTargetException","getTargetError","getException", > "getRootCause"}; > > However java.lang.RuntimeException only supports getCause() which is > missing in this list. > Is there a reason why getCause() is not considered? > > Thanks in advance and best regards, > Udo > [email protected] > > > > >