|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.commons.io.IOExceptionWithCause
public class IOExceptionWithCause
Subclasses IOException with the Throwable constructors missing before Java 6. If you are using Java 6,
consider this class deprecated and use IOException.
| 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. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IOExceptionWithCause(String message,
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(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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||