<<< multi-catch block, cont | Index | Throwing and re-throwing an exception, cont. >>> |
When an exception occurs in a try block, control immediately passes to one of the catch blocks
Typically, a catch block does one of the following:
Completely handles the exception
Partially processes the exception; in this case, the catch block either
rethrows the same exception for the calling environment to handle the exception
throws another exception for the calling environment to handle the exception
<<< multi-catch block, cont | Index | Throwing and re-throwing an exception, cont. >>> |