When catching exceptions, you may want to log some exception information but afterwards pass on the same exception to the caller. Logging information about the exception requires a catch block. Catching the exception nullifies the effect of the exception and lets the program continue executing normally after the catch block executes. To reactivate the exception for the caller:
Tip
|