ExceptionWrapper, java.io.Serializablepublic class IOExceptionWrapper extends java.io.IOException implements ExceptionWrapper
| Constructor | Description |
|---|---|
IOExceptionWrapper(java.lang.Throwable e) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Throwable |
getCause() |
Returns the nested exception or null if none is present.
|
java.lang.Throwable |
getDetail() |
Deprecated.
replaced by
getCause(). |
@Deprecated public java.lang.Throwable getDetail()
getCause().ExceptionWrappergetDetail in interface ExceptionWrapperpublic java.lang.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 java.lang.ThrowableCopyright (c) 1996, 2020 Oracle and/or its affiliates. All rights reserved.