users@glassfish.java.net

Re: Exception Interceptor

From: <glassfish_at_javadesktop.org>
Date: Sat, 27 Jun 2009 10:08:33 PDT

Shooting from the hip here but -

I believe the exception you're catching has 1 or more nested exceptions inside of it. To get to these you'll need to call t.getcause() in ServerSideException's constructor and fillin the stack traces from each nestedexception. It's like traversing thru a linked list.

 Throwable getCause()
          Returns the cause of this throwable or null if the cause is nonexistent or unknown.
[Message sent by forum member 'twk12345' (twk12345)]

http://forums.java.net/jive/thread.jspa?messageID=353277