java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
javax.imageio.IIOException
- 所有已实现的接口:
Serializable
- 已知子类:
IIOInvalidTreeException
用于指示读取和写入操作的运行时失败的异常类。
除了消息字符串之外,还保留了对另一个Throwable(Error 或Exception)的引用。如果此引用不是null,则指的是导致此异常发生的事件。例如,从 File 读取的 IOException 将存储在那里。
- 参见:
-
构造方法总结
构造方法构造方法描述IIOException(String message) 用给定的消息String构造一个IIOException。IIOException(String message, Throwable cause) 使用给定消息String和作为其根本原因的Throwable构造一个IIOException。 -
方法总结
在类 java.lang.Throwable 中声明的方法
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
构造方法详细信息
-
IIOException
用给定的消息String构造一个IIOException。没有确定根本原因;getCause将返回null。- 参数:
message- 错误信息。- 参见:
-
IIOException
使用给定消息String和作为其根本原因的Throwable构造一个IIOException。- 参数:
message- 错误信息。cause- 导致此异常发生的Throwable(Error或Exception)。- 参见:
-