Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Do we need to know the exception hierarchy?

 
Narasimha Rao B.
Ranch Hand
Posts: 205
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Corey McGlone
Ranch Hand
Posts: 3271
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic