I try to post to group but forget when sending. Sorry. I got it working with putting the number into the message. But when the negative number is very large like -2738484349093093204 this throws a numberformatexcept and ignores mynegativeexception. This is too large for memory. Do I fix this or leave like this?
Respects, JKid314159 http://existentialists.blogspot.com/ --- On Sat, 8/1/09, miga <[email protected]> wrote: From: miga <[email protected]> Subject: [java programming] Re: Lab1007hw To: "Free Java Programming Online Training Course By Sang Shin" <[email protected]> Date: Saturday, August 1, 2009, 9:55 PM >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()); } --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
