Help from the Compiler?
YES:
Exceptions that remain uncaught in the body of a method have to be declared in the method’s header.
BUT:
Checked vs. Runtime Exceptions.
Subsumption.
Exception type declarations implicitly designate all of their subtypes.
Previous slide
Next slide
Back to first slide
View graphic version