23 February 2010

Java Exception Handling

Exceptions can be categorized as checked and unchecked.
It is a good habit to handle checked exceptions with try...catch...finally clause or with throws clause that follows method signature. Sun's Java tutorial has a very nice explanation about exception handling in Java:
http://java.sun.com/docs/books/tutorial/essential/exceptions/index.html

No comments: