vfs
Class VFSError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by vfs.VFSError
All Implemented Interfaces:
java.io.Serializable

public class VFSError
extends java.lang.Error

A VFSError is used to rethrow checked exceptions as unchecked exceptions, which do not require a try..catch statement. It should mainly be used to rethrow exceptions that are due to coding errors.

See Also:
Serialized Form

Constructor Summary
VFSError(java.lang.String msg, java.lang.Throwable ex)
          throw new VFSError(msg, ex) rethrows ex as an unchecked execption with additional message msg.
VFSError(java.lang.Throwable ex)
          throw new VFSError(ex) rethrows ex as an unchecked execption with no additional message.
 
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

VFSError

public VFSError(java.lang.Throwable ex)
throw new VFSError(ex) rethrows ex as an unchecked execption with no additional message.

Parameters:
ex -

VFSError

public VFSError(java.lang.String msg,
                java.lang.Throwable ex)
throw new VFSError(msg, ex) rethrows ex as an unchecked execption with additional message msg.

Parameters:
ex -