wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes exceptions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "exceptions" Watch "exceptions" New topic
Author

exceptions

praveena reddyk
Greenhorn

Joined: Sep 25, 2008
Posts: 11
how can we tell that exception is checked exception or unchecked exception name for example IOException is Checked and NullPointerException is unchecked.
Venkata Kumar
Ranch Hand

Joined: Apr 16, 2008
Posts: 110

The unchecked exceptions classes are the class RuntimeException and its subclasses, and the class Error and its subclasses. All other exceptions are checked exceptions.

-Venkat


SCJP 5.0, SCWCD 5, preparing for SCDJWS
 
Don't get me started about those stupid light bulbs.
 
subject: exceptions
 
Similar Threads
overriding
exceptions
Checked and Unchecked exceptions
Exception Doubt
NumberFormatException