|
||||||||||
| 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.vfs.FileSystemException
public class FileSystemException
Thrown for file system errors.
| Field Summary | |
|---|---|
private java.lang.String |
code
The message code. |
private java.lang.String[] |
info
array of complementary info (context). |
private java.lang.Throwable |
throwable
The Throwable that caused this exception to be thrown. |
| Constructor Summary | |
|---|---|
FileSystemException(java.lang.String code)
Constructs exception with the specified detail message. |
|
FileSystemException(java.lang.String code,
java.lang.Object info0)
Constructs exception with the specified detail message. |
|
FileSystemException(java.lang.String code,
java.lang.Object[] info)
Constructs exception with the specified detail message. |
|
FileSystemException(java.lang.String code,
java.lang.Object[] info,
java.lang.Throwable throwable)
Constructs exception with the specified detail message. |
|
FileSystemException(java.lang.String code,
java.lang.Object info0,
java.lang.Throwable throwable)
Constructs exception with the specified detail message. |
|
FileSystemException(java.lang.String code,
java.lang.Throwable throwable)
Constructs exception with the specified detail message. |
|
FileSystemException(java.lang.Throwable throwable)
Constructs wrapper exception. |
|
| Method Summary | |
|---|---|
java.lang.Throwable |
getCause()
Retrieve root cause of the exception. |
java.lang.String |
getCode()
Retrieve error code of the exception. |
java.lang.String[] |
getInfo()
Retrieve array of complementary info (context). |
java.lang.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 |
| Field Detail |
|---|
private final java.lang.Throwable throwable
private final java.lang.String code
private final java.lang.String[] info
| Constructor Detail |
|---|
public FileSystemException(java.lang.String code)
code - the error code of the message.
public FileSystemException(java.lang.String code,
java.lang.Object info0)
code - the error code of the message.info0 - one context information.
public FileSystemException(java.lang.String code,
java.lang.Object info0,
java.lang.Throwable throwable)
code - the error code of the message.info0 - one context information.throwable - the cause.
public FileSystemException(java.lang.String code,
java.lang.Object[] info)
code - the error code of the message.info - array of complementary info (context).
public FileSystemException(java.lang.String code,
java.lang.Throwable throwable)
code - the error code of the message.info - array of complementary info (context).
public FileSystemException(java.lang.String code,
java.lang.Object[] info,
java.lang.Throwable throwable)
code - the error code of the message.info - array of complementary info (context).throwable - the cause.public FileSystemException(java.lang.Throwable throwable)
throwable - the root cause to wrap.| Method Detail |
|---|
public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic final java.lang.Throwable getCause()
getCause in class java.lang.Throwablepublic java.lang.String getCode()
public java.lang.String[] getInfo()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||