February 2017
Beginner
1056 pages
28h 57m
English
The buck stops here.
—SIGN ON HARRY S. TRUMAN’S DESK WHILE HE WAS PRESIDENT
In this section, we discuss techniques for using exceptions that go beyond the basics but are still fundamental.
Sometimes it makes sense to delay handling of an exception. For example, you might have a method whose code throws an exception, but you may not want to catch the exception in that method. Perhaps some programs that use the method should simply end if the exception is thrown, and other programs that use the method should do something else. As a result, you would not know what to do about the exception if you caught it inside the method. In these cases, it makes sense not to catch the ...
Read now
Unlock full access