| Author |
Can i modify Stacktrace
|
surendar prabu
Ranch Hand
Joined: Jul 24, 2006
Posts: 102
|
|
After i catch the Exception thrown, in the catch block, is there any way i could modify i.e; suppress some function calls at the bottom most level before printing using the printstacktace method. Now i am printing mystacktrace into file. If i am printing the trace for execute method in struts Action class, there is a long trace printed before the call to execute method. Can i suppress that by call to some method. Please help me. regards, Surendar Prabu
|
SCJP 1.4
|
 |
Joanne Neal
Rancher
Joined: Aug 05, 2005
Posts: 3011
|
|
|
Have a look at the setStacktrace method in the Throwable class.
|
Joanne
|
 |
 |
|
|
subject: Can i modify Stacktrace
|
|
|