provided by: 
Originally published at Internet.comA robust program is one that is aware of potential pitfalls and has ways and means to recover from them. These pitfalls could be some boundary condition, like 'array boundaries', 'negative age', 'uninitialized objects', etc., or could be some conditions beyond the control of the programmer, like 'requested file not found', 'database failed to execute a SQL query', and so forth.
Fortunately, Java provides a very clean object-oriented framework for exception management and thus simplifies, almost standardizes, the chores of a programmer. New features have been added to the Exceptions Framework in Version 1.4 of the Java 2 SDK that will make it even more useful and powerful.
A Quick Refresher
In order to understand the concepts introduced in this article, it will be worthwhile to spend some time in reviewing the basics of exception management.
To Handle or to Throw Is the Question ...
Read article at Internet.com site