Click to See Complete Forum and Search --> : Exceptional Question


Robyee
November 8th, 2001, 06:18 PM
How do I know which Exceptions to "catch"?

Can someone point me to a site where I can find list of all the java Exceptions -- would be nice if organized in groups, such as Number Exceptions, File Exceptions, etc. (i've been searching the web for half a day now and no luck so far...i'm also poor and can't afford reference books). Thanks

--------------------
If it's not broken then make it better.

Norm
November 8th, 2001, 06:51 PM
What Exception to catch is directly related to the methods that you are using. If you read the doc for any method you use you can see the word: throws for any exceptions that the method can throw and which you should catch.

Use this forum's Search item for exception and you'll see previous answers to this question.

Norm