December 1999
Intermediate to advanced
816 pages
20h 27m
English
Java has a class called Throwable, from which two major classes, Error and Exception, inherit. Figure 10.1 shows the class hierarchy.

A Java developer normally doesn't do anything with Throwable, so I'll not consider this class. You have to have a class that is a subclass of Throwable, however, to throw an error or exception. All Throwable objects contain information on the execution stack for the executing Thread at the time the error or exception object was created. You also won't write any code to deal with Error or any subclasses of it. An Error stems from events like ...
Read now
Unlock full access