This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I was going thro Exception Handling in K&B book, where they have mentioned that checked exceptions should be either declared or handled but it is not necessary for runtime or error type of exceptions.
But i am not able to classify which r checked n which r unchecked exceptions can anyone pls post the exceptions with their classifications as checked n unchecked or is their any other means to find out if the exception is chekced or not.I am completely confused regding this.
RuntimeException, Error, and their subclasses are unchecked. All other exceptions are checked.
Joined: Apr 03, 2006
i know that runtime,error are unchecked but i dono the names of the exceptions that r checked n unchecked how can i find which exceptions r runtime exceptions or exceptions of type error or they r checked exceptions.
is there any book that specifically lists out the cchecked n unchecked exceptions?
Joined: Feb 07, 2005
I don't know if there is an exhaustive list. However, you can you use the API docs and find them.