>I make the call in the catch block as such:
>SpecificExceptionCreated.toString();
>Error message says can not call non-static method toString from static
>class?
Sorry, I've missed this one
You get the error message, exactly as with any standard exception

catch (SpecificExceptionCreated sec) {
JOptionPane.showMessageDialog(null, sec.toString());
}

See the variable you give in the catch call is used to get the message.
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to