| Sign In/My Account | View Cart |
| Article: |
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. |
||
Showing messages 1 through 1 of 1.
You will not lose the original stacktrace by wrapping the cause with
BaseAppExceptionin JDK 1.4+ environment.