26.07.2013 Views

Java How to Program Fourth Edition - DCC

Java How to Program Fourth Edition - DCC

Java How to Program Fourth Edition - DCC

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 14 Exception Handling 823<br />

The java.io package exceptions<br />

Exception<br />

IOException<br />

CharConversionException<br />

EOFException<br />

FileNotFoundException<br />

InterruptedIOException<br />

ObjectStreamException<br />

InvalidClassException<br />

InvalidObjectException<br />

NotActiveException<br />

NotSerializableException<br />

OptionalDataException<br />

StreamCorruptedException<br />

WriteAbortedException<br />

SyncFailedException<br />

UnsupportedCodingException<br />

UTFDataFormatException<br />

Fig. Fig. 14.6 14.6 14.6 The java.io package exceptions .<br />

The The The java.awt package package exceptions<br />

exceptions<br />

exceptions<br />

Exception<br />

AWTException<br />

RuntimeException<br />

IllegalStateException<br />

IllegalComponentStateException<br />

Fig. Fig. 14.7 14.7 The java.awt package exceptions .<br />

Figure 14.8 lists the IOExceptions of the java.net package. These are all<br />

checked Exceptions that indicate various networking problems.<br />

Most packages in the <strong>Java</strong> API define Exceptions and Errors specific <strong>to</strong> the<br />

package. For a complete list of these types, see the online API documentation for the<br />

package.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!