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 checked exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "checked exception " Watch "checked exception " New topic

checked exception

sam mitwa

Joined: Mar 27, 2005
Posts: 13
what is checked exception
how it is different from other exceptions
why we say exceptions checked
how it is different from runtime exception
how can we categorized whather this exception is checked or not
Tony Morris
Ranch Hand

Joined: Sep 24, 2003
Posts: 1608
"checked" means "compile-time checked".
The compiler will force you to handle it.
A checked exception is any Throwable that is not a java.lang.RuntimeException or java.lang.Error (or subtype of).

Tony Morris
Java Q&A (FAQ, Trivia)
Corey McGlone
Ranch Hand

Joined: Dec 20, 2001
Posts: 3271
Moving to Java in General (Beginner).

SCJP Tipline, etc.
I agree. Here's the link:
subject: checked exception
It's not a secret anymore!