Exception Methods:
Most Java exception handling is performed by using the try, catch, throw and finally methods. Ofcourse, these functions can be extended if a few unusual circumstances need it.
Java uses the try, catch, and throws keywords to do original exception handling. They are conceptually same to a switch statement; think of try such as the switch statement interms of exactly identifying the condition to be tested.
A Catch is used to specify the action which should be taken for a particular type of exception. It is same to the case part of a switchstatement. There can be various catch statements in a row to deal along with each of the exceptions which might be produced in the block specified through the try statement.