com.sleepycat.util
Class RuntimeExceptionWrapper
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sleepycat.util.RuntimeExceptionWrapper
- All Implemented Interfaces:
- ExceptionWrapper, Serializable
- public class RuntimeExceptionWrapper
- extends RuntimeException
- implements ExceptionWrapper
A RuntimeException that can contain nested exceptions.
- Author:
- Mark Hayes
- See Also:
- Serialized
Form
Method Summary |
Throwable |
getDetail()
Returns
the nested exception or null if none is present. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
RuntimeExceptionWrapper
public RuntimeExceptionWrapper(Throwable e)
getDetail
public Throwable getDetail()
- Description copied from interface:
ExceptionWrapper
- Returns the nested exception or null if none is present.
-
- Specified by:
getDetail
in interface ExceptionWrapper
-
- Returns:
- the nested exception or null if none is present.
Copyright
(c) 1996-2005 Sleepycat Software,
Inc. - All rights reserved.