wood burning stoves 2.0*
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
Author

checked exception

sam mitwa
Greenhorn

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.
 
 
subject: checked exception