|
I am writing a very robust web-based application and I would
like excpetions, during runtime, mailed to the system admin. I
have an extensive mail system built into my app, and I can simply
pass a String or StringBuffer object as the parameter for the message
content.
The issue is that I can't seem to create a decent exception using
Exception.toString( ) or Exception.getMessage( ). What I generally get from
these are bland and undescriptive messages about the error. eg:
java.lang.NullPointException. No line# and no further description. However, if I
use Exception.printStackTrace( ), I get a VERY descriptive exception, but I
can't seem to create a String from this exception.
Anyone have any ideas?
John D. McDonald
CipherStream Systems email: [EMAIL PROTECTED] web: www.cipherstream.com ------------------------------------------------------- Secure E-Business Is Our Business ------------------------------------------------------- |
- Re: Exception handling John McDonald
- Re: Exception handling jon *
- Re: Exception handling Scott M Stark
