Go4Expert (http://www.go4expert.com/) -   -   Introduction to
Exception Handling in Java
(http://www.go4expert.com/articles/introduction-exception-
handling-java-t4122/)  Sanskruti 3May2007 22:01  Introduction to
Exception Handling in Java Exception is an abnormal condition
that arises in the program during execution. When such a
condition arises in the program, an appropriate code is written
so that it can be handled. It is very much similar to the error
codes returned by a subroutine in the C language. Whatever value
the function returns can be checked, and depending upon the
value you can make out whether it is executed successfully or
were there any errors. If there is an error then you need to
match the error code with the error list and find out what error
occurred. Java runtime environment has adopted this feature
extensively using object-oriented methodology in the form of
exception handling.  By using the exception handling you can
prevent your program from abruptly ending, flashing surprising
and ann