all, section 8.5.
8.5. Runtime Exceptions--The Controversy
Although Java requires that methods catch or specify checked exceptions, they do not have to catch or specify runtime exceptions,
that is, exceptions that occur within the Java runtime system.
Because catching or specifying an exception is extra work,
programmers may be tempted to write code that throws only runtime exceptions
and therefore doesn't have to catch or specify them.
This is "exception abuse" and is not recommended.
© by csfac. All Rights Reserved (2010).
It is not allowed to print these pages on a CAST printer.
Last modified: 01/April/10 (17:16)