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:
No comments:
Post a Comment