Reference as Exceptions
The binding of a thrown value to an exception handler is a form of assignment.
To avoid the slicing problem, exception handlers should declare their variables by reference.
Previous slide
Next slide
Back to first slide
View graphic version