Package com.sleepycat.util
Class IOExceptionWrapper
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
com.sleepycat.util.IOExceptionWrapper
- All Implemented Interfaces:
ExceptionWrapper,Serializable
An IOException that can contain nested exceptions.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IOExceptionWrapper
-
-
Method Details
-
getDetail
Deprecated.replaced bygetCause().Description copied from interface:ExceptionWrapperReturns the nested exception or null if none is present.- Specified by:
getDetailin interfaceExceptionWrapper- Returns:
- the nested exception or null if none is present.
-
getCause
Description copied from interface:ExceptionWrapperReturns the nested exception or null if none is present.This method is intentionally defined to be the same signature as the
java.lang.Throwable.getCausemethod 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.- Specified by:
getCausein interfaceExceptionWrapper- Overrides:
getCausein classThrowable- Returns:
- the nested exception or null if none is present.
-
getCause().