? IOExceptionWithCause
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.commons.io.IOExceptionWithCause
- ????????:
Serializable
- ??????:
TaggedIOException
????
Subclasses IOException with the
Throwable
constructors missing before Java 6.- ???????:
- 1.4
- ????:
-
?????
????????IOExceptionWithCause
(String message, Throwable cause) ????Constructs a new instance with the given message and cause.IOExceptionWithCause
(Throwable cause) ????Constructs a new instance with the given cause. -
????
-
???????
-
IOExceptionWithCause
????Constructs a new instance with the given message and cause.As specified in
Throwable
, the message in the givencause
is not used in this instance's message.- ??:
message
- the message (seeThrowable.getMessage()
)cause
- the cause (seeThrowable.getCause()
). Anull
value is allowed.
-
IOExceptionWithCause
????Constructs a new instance with the given cause.The message is set to
cause==null ? null : cause.toString()
, which by default contains the class and message ofcause
. This constructor is useful for call sites that just wrap another throwable.- ??:
cause
- the cause (seeThrowable.getCause()
). Anull
value is allowed.
-
IOException
instead