Exception Handling
- slide 25 : 30
Rethrowing an exception
Inside a handler
, you can either rethrow an exception or raise/throw a new exception
Rethrowing
Preserving information about the original exception, and the call chain
Usually recommended
Rethrowing an exception.
Output from the program that rethrows an exception.
Touching, but not handling the exception
An outer handler will see the original exception