Mixelplixed
12-05-2000, 12:18 AM
Hello,
I was just wondering if anyone knows of a way to have the program automatically
e-mail me the exception (if caught) in text form. Is there an easy way to
go about this?
Instead of this:
catch (Exception e) {
System.out.println("Exception: " + e);
}
I'd like something like:
catch (Exception e) {
--> Insert code to send automatic e-mail here <--
}
Many Thanks,
Mix
I was just wondering if anyone knows of a way to have the program automatically
e-mail me the exception (if caught) in text form. Is there an easy way to
go about this?
Instead of this:
catch (Exception e) {
System.out.println("Exception: " + e);
}
I'd like something like:
catch (Exception e) {
--> Insert code to send automatic e-mail here <--
}
Many Thanks,
Mix