File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP 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