public static enum StateEngine.Error extends java.lang.Enum<StateEngine.Error>
Error
defines error types and messages for StateEngine
.Enum Constant and Description |
---|
ERROR_STATE_REENTERED |
ERROR_UNHANDLED_DEEP_HISTORY |
ERROR_UNHANDLED_ENTRY_POINT |
ERROR_UNHANDLED_EVENT |
ERROR_UNHANDLED_SHALLOW_HISTORY |
ERROR_UNKNOWN |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription(java.lang.Object... args) |
static StateEngine.Error |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StateEngine.Error[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StateEngine.Error ERROR_UNKNOWN
public static final StateEngine.Error ERROR_STATE_REENTERED
public static final StateEngine.Error ERROR_UNHANDLED_EVENT
public static final StateEngine.Error ERROR_UNHANDLED_ENTRY_POINT
public static final StateEngine.Error ERROR_UNHANDLED_DEEP_HISTORY
public static final StateEngine.Error ERROR_UNHANDLED_SHALLOW_HISTORY
public static StateEngine.Error[] values()
for (StateEngine.Error c : StateEngine.Error.values()) System.out.println(c);
public static StateEngine.Error 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 nullpublic final java.lang.String getDescription(java.lang.Object... args)