File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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


praveena reddyk

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.


SCJP 5.0, SCWCD 5, preparing for SCDJWS
It is sorta covered in the JavaRanch Style Guide.
subject: exceptions