public static enum PolyglotCompilerOptions.ExceptionAction extends Enum<PolyglotCompilerOptions.ExceptionAction>
org.graalvm.compiler.core.CompilationWrapper.ExceptionAction.
The actions are in ascending order of verbosity.| Enum Constant and Description |
|---|
Diagnose
Retry compilation with extra diagnostics enabled.
|
ExitVM
Exit the VM process.
|
Print
Print a stack trace to the console.
|
Silent
Print nothing to the console.
|
Throw
Throw the exception to
CallTarget caller. |
| Modifier and Type | Method and Description |
|---|---|
static PolyglotCompilerOptions.ExceptionAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PolyglotCompilerOptions.ExceptionAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PolyglotCompilerOptions.ExceptionAction Silent
public static final PolyglotCompilerOptions.ExceptionAction Print
public static final PolyglotCompilerOptions.ExceptionAction Throw
CallTarget caller.public static final PolyglotCompilerOptions.ExceptionAction Diagnose
public static final PolyglotCompilerOptions.ExceptionAction ExitVM
public static PolyglotCompilerOptions.ExceptionAction[] values()
public static PolyglotCompilerOptions.ExceptionAction 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 null