public class FileSystemException
extends java.io.IOException
Modifier and Type | Field and Description |
---|---|
private java.lang.String[] |
info
Array of complementary info (context).
|
private static java.util.regex.Pattern |
PASSWORD_PATTERN
Password pattern
|
private static long |
serialVersionUID
serialVersionUID format is YYYYMMDD for the date of the last binary change.
|
private static java.util.regex.Pattern |
URL_PATTERN
URL pattern
|
Constructor and Description |
---|
FileSystemException(java.lang.String code)
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 info0)
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 and 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.
|
private static final long serialVersionUID
private static final java.util.regex.Pattern URL_PATTERN
private static final java.util.regex.Pattern PASSWORD_PATTERN
private final java.lang.String[] info
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()