This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: exceptions
 
Similar Threads
overriding
exceptions
Checked and Unchecked exceptions
Exception Doubt
NumberFormatException