java.io.Serializable
TaggedIOException
public class IOExceptionWithCause
extends java.io.IOException
Throwable
constructors missing before Java 6. If you are using Java 6,
consider this class deprecated and use IOException
.Modifier and Type | Field | Description |
---|---|---|
private static long |
serialVersionUID |
Defines the serial version UID.
|
Constructor | Description |
---|---|
IOExceptionWithCause(java.lang.String message,
java.lang.Throwable cause) |
Constructs a new instance with the given message and cause.
|
IOExceptionWithCause(java.lang.Throwable cause) |
Constructs a new instance with the given cause.
|
private static final long serialVersionUID
public IOExceptionWithCause(java.lang.String message, java.lang.Throwable cause)
As specified in Throwable
, the message in the given cause
is not used in this instance's
message.
message
- the message (see Throwable.getMessage()
)cause
- the cause (see Throwable.getCause()
). A null
value is allowed.public IOExceptionWithCause(java.lang.Throwable cause)
The message is set to cause==null ? null : cause.toString()
, which by default contains the class
and message of cause
. This constructor is useful for call sites that just wrap another throwable.
cause
- the cause (see Throwable.getCause()
). A null
value is allowed.Copyright (c) 2002-2017 Apache Software Foundation