public static enum ErrorReason.Values extends java.lang.Enum<ErrorReason.Values>
enum representing this enumeration class.
Ordinals have no semantic meaning (your code should not rely on them).
| Enum Constant and Description |
|---|
_UNKNOWN
Special
enum constant which is used to represent constants
that do not exist in this enumeration binding. |
DIRECTORY_NOT_EMPTY
Represents
ErrorReason.DIRECTORY_NOT_EMPTY. |
FILE_NOT_FOUND
Represents
ErrorReason.FILE_NOT_FOUND. |
FILE_TOO_LARGE
Represents
ErrorReason.FILE_TOO_LARGE. |
NO_DISK_SPACE
Represents
ErrorReason.NO_DISK_SPACE. |
NOT_A_DIRECTORY
Represents
ErrorReason.NOT_A_DIRECTORY. |
NOT_A_FILE
Represents
ErrorReason.NOT_A_FILE. |
PATH_TOO_LONG
Represents
ErrorReason.PATH_TOO_LONG. |
| Modifier and Type | Method and Description |
|---|---|
static ErrorReason.Values |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ErrorReason.Values[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorReason.Values NOT_A_FILE
ErrorReason.NOT_A_FILE.public static final ErrorReason.Values NOT_A_DIRECTORY
ErrorReason.NOT_A_DIRECTORY.public static final ErrorReason.Values PATH_TOO_LONG
ErrorReason.PATH_TOO_LONG.public static final ErrorReason.Values FILE_NOT_FOUND
ErrorReason.FILE_NOT_FOUND.public static final ErrorReason.Values FILE_TOO_LARGE
ErrorReason.FILE_TOO_LARGE.public static final ErrorReason.Values NO_DISK_SPACE
ErrorReason.NO_DISK_SPACE.public static final ErrorReason.Values DIRECTORY_NOT_EMPTY
ErrorReason.DIRECTORY_NOT_EMPTY.public static final ErrorReason.Values _UNKNOWN
enum constant which is used to represent constants
that do not exist in this enumeration binding. For example if a
client receives an enumeration constant that only exists in the
newer version of the API of the server, the client source code will
see it represented by _UNKNOWN constant, because its version
of the native Java enum lacks the new constant.public static ErrorReason.Values[] values()
for (ErrorReason.Values c : ErrorReason.Values.values()) System.out.println(c);
public static ErrorReason.Values valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null