- All Implemented Interfaces:
Serializable,Comparable<StackFrame.State>,Constable
- Enclosing interface:
StackFrame
Possible states of a StackFrame. All StackFrames start in an incomplete
state.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSpecial state to control stack unwinding.Special state to control stack unwinding.Processing finished with an error.Incomplete and requires processing.Processing finished successfully, and theStackFrame.result()is available. -
Method Summary
Modifier and TypeMethodDescriptionstatic StackFrame.StateReturns the enum constant of this class with the specified name.static StackFrame.State[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Incomplete
Incomplete and requires processing. All StackFrames begin in this state. -
OK
Processing finished successfully, and theStackFrame.result()is available. -
Error
Processing finished with an error. -
Break
Special state to control stack unwinding. -
Continue
Special state to control stack unwinding.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-