Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to memorize Exceptions and its subclasses

 
Varun Nayudu
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

does any one know an easy way of memorizing various Exceptions and its subclasses. Please
 
Ankit Garg
Sheriff
Posts: 9529
33
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You don't need to memorize them. There are a few unchecked exceptions like ArrayIndexOutOfBoundsException, ArithmeticException which are sub-classes of RuntimeException class,

then there are checked exceptions which are related to the type of the working that you are doing, i.e. for file input output, you will need to know IOExceptions like EOFException or FileNotFoundException...

I don't think you need to memorize any exception classes. It would be more clear if you would tell what is the problem that you are facing....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic