org.entityfs.support.exception
Class WrappedCheckedException

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
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
WrappedClassNotFoundException, WrappedIOException

public class WrappedCheckedException
extends FileSystemException

This exception type is used to wrap a checked exception (such as ClassNotFoundException) and rethrow it as an unchecked exception. All EntityFS exceptions are unchecked.

This class is inherited by other wrapper exception classes that are for wrapping specific exception types.

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

Constructor Summary
WrappedCheckedException(Exception e)
           
WrappedCheckedException(String msg, Exception e)
           
 
Method Summary
 
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

WrappedCheckedException

public WrappedCheckedException(Exception e)

WrappedCheckedException

public WrappedCheckedException(String msg,
                               Exception e)