This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma 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 Java Interview Guide this week in the Jobs Discussion 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
I agree. Here's the link:
subject: exceptions
It's not a secret anymore!