public class IOExceptionWrapper extends IOException implements ExceptionWrapper
Constructor and Description |
---|
IOExceptionWrapper(Throwable e) |
Modifier and Type | Method and Description |
---|---|
Throwable |
getCause()
Returns the nested exception or null if none is present.
|
Throwable |
getDetail()
Deprecated.
replaced by
getCause() . |
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public IOExceptionWrapper(Throwable e)
public Throwable getDetail()
getCause()
.ExceptionWrapper
getDetail
in interface ExceptionWrapper
public Throwable getCause()
ExceptionWrapper
This method is intentionally defined to be the same signature as the
java.lang.Throwable.getCause
method in Java 1.4 and
greater. By defining this method to return a nested exception, the Java
1.4 runtime will print the nested stack trace.
getCause
in interface ExceptionWrapper
getCause
in class Throwable
Copyright (c) 2002, 2015 Oracle and/or its affiliates. All rights reserved.