FileNotFolderException
, FileNotFoundException
, FileTypeHasNoContentException
public class FileSystemException extends java.io.IOException
Constructor | Description |
---|---|
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) |
Deprecated.
Use instead
FileSystemException(String, Throwable, Object[]) . Will be removed in 3.0. |
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.String code,
java.lang.Throwable throwable,
java.lang.Object... info) |
Constructs exception with the specified detail message.
|
FileSystemException(java.lang.Throwable throwable) |
Constructs wrapper exception.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getCode() |
Retrieves error code of the exception.
|
java.lang.String[] |
getInfo() |
Retrieves array of complementary info (context).
|
java.lang.String |
getMessage() |
Retrieves message from bundle.
|
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.throwable
- the original cause@Deprecated public FileSystemException(java.lang.String code, java.lang.Object[] info, java.lang.Throwable throwable)
FileSystemException(String, Throwable, Object[])
. Will be removed in 3.0.code
- the error code of the message.info
- array of complementary info (context).throwable
- the cause.public FileSystemException(java.lang.String code, java.lang.Throwable throwable, java.lang.Object... info)
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.public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public java.lang.String getCode()
public java.lang.String[] getInfo()