public static enum BytecodeExceptionNode.BytecodeExceptionKind extends Enum<BytecodeExceptionNode.BytecodeExceptionKind>
| Enum Constant and Description |
|---|
ARRAY_STORE
Represents a
ArrayStoreException. |
ASSERTION_ERROR_NULLARY
Represents a
AssertionError without arguments. |
ASSERTION_ERROR_OBJECT
Represents a
AssertionError with one required Object argument for the error
message. |
CLASS_CAST
Represents a
ClassCastException. |
DIVISION_BY_ZERO
Represents a
ArithmeticException, with the exception message indicating a
division by zero. |
ILLEGAL_ARGUMENT_EXCEPTION_ARGUMENT_IS_NOT_AN_ARRAY
Represents a
IllegalArgumentException with a fixed message. |
ILLEGAL_ARGUMENT_EXCEPTION_NEGATIVE_LENGTH
Represents a
IllegalArgumentException with a fixed message. |
INTEGER_EXACT_OVERFLOW
Represents a
ArithmeticException, with the exception message indicating an
integer overflow. |
INTRINSIC_OUT_OF_BOUNDS
Represents a
ArrayIndexOutOfBoundsException in an intrinsic. |
LONG_EXACT_OVERFLOW
Represents a
ArithmeticException, with the exception message indicating a long
overflow. |
NEGATIVE_ARRAY_SIZE
Represents a
NegativeArraySizeException with one required int argument for the
length of the array. |
NULL_POINTER
Represents a
NullPointerException. |
OUT_OF_BOUNDS
Represents a
ArrayIndexOutOfBoundsException. |
| Modifier and Type | Method and Description |
|---|---|
String |
getExceptionMessage() |
int |
getNumArguments() |
static BytecodeExceptionNode.BytecodeExceptionKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BytecodeExceptionNode.BytecodeExceptionKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BytecodeExceptionNode.BytecodeExceptionKind NULL_POINTER
NullPointerException. No arguments are allowed.public static final BytecodeExceptionNode.BytecodeExceptionKind OUT_OF_BOUNDS
ArrayIndexOutOfBoundsException. Two arguments are required:
public static final BytecodeExceptionNode.BytecodeExceptionKind INTRINSIC_OUT_OF_BOUNDS
ArrayIndexOutOfBoundsException in an intrinsic. No arguments are
allowed.public static final BytecodeExceptionNode.BytecodeExceptionKind CLASS_CAST
ClassCastException. Two arguments are required:
public static final BytecodeExceptionNode.BytecodeExceptionKind ARRAY_STORE
ArrayStoreException. One arguments is required:
public static final BytecodeExceptionNode.BytecodeExceptionKind ASSERTION_ERROR_NULLARY
AssertionError without arguments.public static final BytecodeExceptionNode.BytecodeExceptionKind ASSERTION_ERROR_OBJECT
AssertionError with one required Object argument for the error
message.public static final BytecodeExceptionNode.BytecodeExceptionKind ILLEGAL_ARGUMENT_EXCEPTION_NEGATIVE_LENGTH
IllegalArgumentException with a fixed message. No additional
arguments are allowed.public static final BytecodeExceptionNode.BytecodeExceptionKind ILLEGAL_ARGUMENT_EXCEPTION_ARGUMENT_IS_NOT_AN_ARRAY
IllegalArgumentException with a fixed message. No additional
arguments are allowed.public static final BytecodeExceptionNode.BytecodeExceptionKind NEGATIVE_ARRAY_SIZE
NegativeArraySizeException with one required int argument for the
length of the array.public static final BytecodeExceptionNode.BytecodeExceptionKind DIVISION_BY_ZERO
ArithmeticException, with the exception message indicating a
division by zero. No arguments are allowed.public static final BytecodeExceptionNode.BytecodeExceptionKind INTEGER_EXACT_OVERFLOW
ArithmeticException, with the exception message indicating an
integer overflow. No arguments are allowed.public static final BytecodeExceptionNode.BytecodeExceptionKind LONG_EXACT_OVERFLOW
ArithmeticException, with the exception message indicating a long
overflow. No arguments are allowed.public static BytecodeExceptionNode.BytecodeExceptionKind[] values()
public static BytecodeExceptionNode.BytecodeExceptionKind 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 nullpublic String getExceptionMessage()
public int getNumArguments()