public static enum ChainExecutionException.Reason extends java.lang.Enum<ChainExecutionException.Reason>
| Enum Constant and Description |
|---|
ARGUMENT_PARSE_EXCEPTION |
HANDLED_OTHERWISE
This is not really a reason but is required if the occurred exception was already handled by the argument node
CommandExceptionHandler. |
MISSING_SPACE |
NO_ARGUMENTS_LEFT |
REQUIREMENT_FAILED |
RUNTIME_EXCEPTION |
TOO_MANY_ARGUMENTS |
| Modifier and Type | Method and Description |
|---|---|
static ChainExecutionException.Reason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChainExecutionException.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChainExecutionException.Reason HANDLED_OTHERWISE
CommandExceptionHandler.ARGUMENT_PARSE_EXCEPTION or RUNTIME_EXCEPTION.public static final ChainExecutionException.Reason ARGUMENT_PARSE_EXCEPTION
public static final ChainExecutionException.Reason RUNTIME_EXCEPTION
public static final ChainExecutionException.Reason MISSING_SPACE
public static final ChainExecutionException.Reason NO_ARGUMENTS_LEFT
public static final ChainExecutionException.Reason TOO_MANY_ARGUMENTS
public static final ChainExecutionException.Reason REQUIREMENT_FAILED
public static ChainExecutionException.Reason[] values()
for (ChainExecutionException.Reason c : ChainExecutionException.Reason.values()) System.out.println(c);
public static ChainExecutionException.Reason 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