com.sleepycat.util
Class IOExceptionWrapper

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.io.IOException
              extended bycom.sleepycat.util.IOExceptionWrapper
All Implemented Interfaces:
ExceptionWrapper, Serializable

public class IOExceptionWrapper
extends IOException
implements ExceptionWrapper

An IOException that can contain nested exceptions.

Author:
Mark Hayes
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
IOExceptionWrapper(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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IOExceptionWrapper

public IOExceptionWrapper(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.


Copyright 2004 Sleepycat, Inc. All Rights Reserved.