- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Error
-
- java.io.IOError
-
- All Implemented Interfaces:
-
Serializable
public class IOError extends Error
当出现严重I / O错误时抛出。- 从以下版本开始:
- 1.6
- 另请参见:
- Serialized Form
-
-
方法摘要
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
构造方法详细信息
-
IOError
public IOError(Throwable cause)
构造具有指定原因的新的IOError实例。 IOError是通过详细消息(cause==null ? null : cause.toString())
(通常包含原因的类和详细信息)创建的。- 参数
-
cause
- The cause of this error, ornull
if the cause is not known
-
-