This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Do we need to know the exception hierarchy? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Do we need to know the exception hierarchy?" Watch "Do we need to know the exception hierarchy?" New topic
Author

Do we need to know the exception hierarchy?

Narasimha Rao B.
Ranch Hand

Joined: Aug 26, 2002
Posts: 205
Hi,
For the exam, do we need to know the exception hierarchy? I mean which are all the sub classes of RuntimeExceptions and which are not.
For some of the mock exam questions, i need to go and look in Java Api, to know the exception hierarchy (Mostly IOException etc.)
Thanks,
Narasimha.


Narasimha
Corey McGlone
Ranch Hand

Joined: Dec 20, 2001
Posts: 3271
It would be helpful to know a few of the more common exception types, such as IOException, NullPointerException, ArithmeticException, etc.
More importantly, though, you should understand the relationship between Throwable, Exception, RuntimeException, and Error.


SCJP Tipline, etc.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Do we need to know the exception hierarchy?
 
Similar Threads
Do Static methods throw exceptions?
doubt in exception
Gridbaglayout
Regarding Exceptions
How to throw a custom class instance as an exception, espicially when it is already inherited?