Berkeley DB
version 4.2.52

com.sleepycat.bdb.util
Class RuntimeExceptionWrapper

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--com.sleepycat.bdb.util.RuntimeExceptionWrapper
All Implemented Interfaces:
ExceptionWrapper, Serializable

public class RuntimeExceptionWrapper
extends RuntimeException
implements ExceptionWrapper

A RuntimeException that can contain nested exceptions.

See Also:
Serialized Form

Constructor Summary
RuntimeExceptionWrapper(Throwable e)
           
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RuntimeExceptionWrapper

public RuntimeExceptionWrapper(Throwable e)
Method Detail

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.

Berkeley DB
version 4.2.52

Copyright (c) 1996-2003 Sleepycat Software, Inc. - All rights reserved.