Women in Technology

Hear us Roar

  An Exception Handling Framework for J2EE Applications
Subject:   logging original stack trace
Date:   2007-02-07 20:55:33
From:   Shrik
Response to: logging original stack trace

Wrapping the root exception with BaseAppException will not the stack-trace of original cause if you are working in JDK 1.4+ environment. However, for older JDK versions, there is a problem in keeping original stacktrace intact. <b/> In that case you need to modify BaseAppException for root-cause stacktrace implementation. You can take a look on NestedCheckedException implementation in Spring framework as a reference for the same.
Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • logging original stack trace
    2007-02-07 20:53:14  Shrik [View]

    Oops. A typo mistake :-(. Here it reads better now :-)

    You will not lose the original stacktrace by wrapping the cause with BaseAppException in JDK 1.4+ environment.