Need more information on Exception getCause and GetMessage
843810Oct 27 2004 — edited Aug 16 2005
Hi,
I wass developing a module for displaying exceptions in my application.
Depending on the log level, I wanted to display contents in a log.
I wanted to know the what are these useful - getMessage(), getCause() and printstacktrace().
Printstacktrace might not be preferred logging message and not sure what else can be a better log.
Thanks & Regards,
Chandra