IOException的子类

ChangedCharSetException,
CharacterCodingException,
CharConversionException,
ClosedChannelException,
EOFException,
FileLockInterruptionException,
FileNotFoundException,
FilerException,
FileSystemException,
HttpRetryException,
IIOException,
InterruptedByTimeoutException,
InterruptedIOException,
InvalidPropertiesFormatException,
JMXProviderException,
JMXServerErrorException,
MalformedURLException,
ObjectStreamException,
ProtocolException,
RemoteException,
SaslException,
SocketException,
SSLException,
SyncFailedException,
UnknownHostException,
UnknownServiceException,
UnsupportedDataTypeException,
UnsupportedEncodingException,
UserPrincipalNotFoundException,
UTFDataFormatException,
ZipException

参考资料:

1. https://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true

2. https://www.runoob.com/manual/jdk1.6/java/io/IOException.html

原文地址:https://www.cnblogs.com/heyang78/p/12418408.html