- java.lang.Object
-
- java.lang.Enum<StackWalkResult>
-
- com.ibm.j9ddr.vm29.j9.stackwalker.StackWalkResult
-
- All Implemented Interfaces:
Serializable
,Comparable<StackWalkResult>
public enum StackWalkResult extends Enum<StackWalkResult>
Java realisation of the various J9_STACKWALK_RC_* values
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BAD_STATE_BUFFER
FRAME_NOT_FOUND
NO_MEMORY
NONE
STACK_CORRUPT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StackWalkResult
valueOf(String name)
Returns the enum constant of this type with the specified name.static StackWalkResult[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FRAME_NOT_FOUND
public static final StackWalkResult FRAME_NOT_FOUND
-
NONE
public static final StackWalkResult NONE
-
NO_MEMORY
public static final StackWalkResult NO_MEMORY
-
STACK_CORRUPT
public static final StackWalkResult STACK_CORRUPT
-
BAD_STATE_BUFFER
public static final StackWalkResult BAD_STATE_BUFFER
-
-
Method Detail
-
values
public static StackWalkResult[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (StackWalkResult c : StackWalkResult.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StackWalkResult valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-