my dog learned polymorphism*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Exceptions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Exceptions" Watch "Exceptions" New topic
Author

Exceptions

suresh kamsa
Ranch Hand

Joined: Jul 30, 2001
Posts: 149
How to know which exception comes under which class.
Is there any list of exceptions you can only use under Exception class and runtime exception class and error exception class. Please let me know or I have to follow API?
Thanks
Srinivas
Charu Murali
Ranch Hand

Joined: Jul 12, 2002
Posts: 37
Yes. Java API is the best one. You can see this link: http://java.sun.com/j2se/1.4/docs/api/java/lang/package-tree.html
HTH.
Charu
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Exceptions