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, toStringpublic IOExceptionWrapper(Throwable e)
public Throwable getDetail()
getCause().ExceptionWrappergetDetail in interface ExceptionWrapperpublic Throwable getCause()
ExceptionWrapperThis 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 ExceptionWrappergetCause in class ThrowableCopyright © 2024. All rights reserved.