org.entityfs.support.exception
Class WrappedIOException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.entityfs.support.exception.FileSystemException
                  extended by org.entityfs.support.exception.WrappedCheckedException
                      extended by org.entityfs.support.exception.WrappedIOException
All Implemented Interfaces:
Serializable

public class WrappedIOException
extends WrappedCheckedException

This exception type is used to wrap IOException (checked) and rethrow it as an unchecked exception.

Since:
1.0
Author:
Karl Gustafsson
See Also:
Serialized Form

Constructor Summary
WrappedIOException(IOException e)
           
WrappedIOException(String msg, IOException e)
           
 
Method Summary
 IOException getWrapped()
          Get the wrapped IOException.
 
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

WrappedIOException

public WrappedIOException(IOException e)

WrappedIOException

public WrappedIOException(String msg,
                          IOException e)
Method Detail

getWrapped

public IOException getWrapped()
Get the wrapped IOException.

Returns:
The wrapped IOException.