Serializable
, Comparable<FunctionResult.Failure>
public static enum FunctionResult.Failure extends Enum<FunctionResult.Failure>
Enum Constant | Description |
---|---|
Generic |
|
NoSuchFile |
|
NotADirectory |
|
Permissions |
Modifier and Type | Method | Description |
---|---|---|
static FunctionResult.Failure |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static FunctionResult.Failure[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FunctionResult.Failure Generic
public static final FunctionResult.Failure NoSuchFile
public static final FunctionResult.Failure NotADirectory
public static final FunctionResult.Failure Permissions
public static FunctionResult.Failure[] values()
for (FunctionResult.Failure c : FunctionResult.Failure.values()) System.out.println(c);
public static FunctionResult.Failure valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null