org.apache.commons.io
public class IOExceptionWithCause extends IOException
Since: Commons IO 1.4
Version: $Id$
| Constructor Summary | |
|---|---|
| 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.
| |
As specified in Throwable, the message in the given cause is not used in this instance's
message.
Parameters: message
the message (see IOExceptionWithCause) cause
the cause (see IOExceptionWithCause). A null value is allowed.
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.
Parameters: cause
the cause (see IOExceptionWithCause). A null value is allowed.