Tuesday, May 17, 2011

Types of exceptions in java

All exceptions in Java are subclasses of the built-in-class called Throwable. There are two main subclasses under throwable: Exception and Error.

This can be seen in this figure:



See here for checked, unchecked and Error in detail in java.

No comments:

Post a Comment