|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Error
vfs.VFSError
public class VFSError
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.
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 |
---|
public VFSError(java.lang.Throwable ex)
ex
- public VFSError(java.lang.String msg, java.lang.Throwable ex)
ex
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |