|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.commons.vfs2.FileSystemException
public class FileSystemException
Thrown for file system errors.
| Constructor Summary | |
|---|---|
FileSystemException(String code)
Constructs exception with the specified detail message. |
|
FileSystemException(String code,
Object info0)
Constructs exception with the specified detail message. |
|
FileSystemException(String code,
Object[] info)
Constructs exception with the specified detail message. |
|
FileSystemException(String code,
Object[] info,
Throwable throwable)
Constructs exception with the specified detail message. |
|
FileSystemException(String code,
Object info0,
Throwable throwable)
Constructs exception with the specified detail message. |
|
FileSystemException(String code,
Throwable throwable)
Constructs exception with the specified detail message. |
|
FileSystemException(Throwable throwable)
Constructs wrapper exception. |
|
| Method Summary | |
|---|---|
Throwable |
getCause()
Retrieve root cause of the exception. |
String |
getCode()
Retrieve error code of the exception. |
String[] |
getInfo()
Retrieve array of complementary info (context). |
String |
getMessage()
retrieve message from bundle. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getLocalizedMessage, 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 FileSystemException(String code)
code - the error code of the message.
public FileSystemException(String code,
Object info0)
code - the error code of the message.info0 - one context information.
public FileSystemException(String code,
Object info0,
Throwable throwable)
code - the error code of the message.info0 - one context information.throwable - the cause.
public FileSystemException(String code,
Object[] info)
code - the error code of the message.info - array of complementary info (context).
public FileSystemException(String code,
Throwable throwable)
code - the error code of the message.throwable - the original cause
public FileSystemException(String code,
Object[] info,
Throwable throwable)
code - the error code of the message.info - array of complementary info (context).throwable - the cause.public FileSystemException(Throwable throwable)
throwable - the root cause to wrap.| Method Detail |
|---|
public String getMessage()
getMessage in class Throwablepublic final Throwable getCause()
getCause in class Throwablepublic String getCode()
public String[] getInfo()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||