Enum Class OptimizedRuntimeOptions.ExceptionAction
java.lang.Object
java.lang.Enum<OptimizedRuntimeOptions.ExceptionAction>
com.oracle.truffle.runtime.OptimizedRuntimeOptions.ExceptionAction
- All Implemented Interfaces:
Serializable, Comparable<OptimizedRuntimeOptions.ExceptionAction>, Constable
- Enclosing class:
OptimizedRuntimeOptions
public static enum OptimizedRuntimeOptions.ExceptionAction
extends Enum<OptimizedRuntimeOptions.ExceptionAction>
Actions to take upon an exception being raised during Truffle compilation. The actions are
with respect to what the user sees on the console. The enum constants and order are the same
as defined in
jdk.graal.compiler.core.CompilationWrapper.ExceptionAction.
The actions are in ascending order of verbosity. Ordinal order is semantically significant!-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Silent
Print nothing to the console. -
Print
Print a stack trace to the console. -
Throw
Throw the exception toCallTargetcaller. -
Diagnose
Retry compilation with extra diagnostics enabled. -
ExitVM
Exit the VM process.
-
-
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
-