public enum ErrorKind extends Enum<ErrorKind>
Enum Constant and Description |
---|
EVALUATION
An error during the evaluation of the command, for instance a programmation error.
|
INTERNAL
An error related to the implementation of the command.
|
SYNTAX
Denotes a wrong syntax of the command usage.
|
Modifier and Type | Method and Description |
---|---|
static ErrorKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorKind EVALUATION
public static ErrorKind[] values()
for (ErrorKind c : ErrorKind.values()) System.out.println(c);
public static ErrorKind 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 nullCopyright © 2015 eXo Platform SAS. All Rights Reserved.