posted 21 years ago
Hello Everybody,
I am in the process of making some programs and decided to throw some customised error and forced to catch my errors as they have been thrown in my various classes as given belown. e.g. testException
But surprised to find that when I tried CheckInteger program I need not to catch any exception and it automatically handles the error, though its Constructor of integer class throws NumberFormatException.
How can I achieve same thing as in my testExceptionprogram as has been achieved in CheckInteger where its constructor throws an error but I need not to explicitly catch the same.
regards,
Arun
[ December 04, 2002: Message edited by: Cindy Glass ]