public static enum CompilationWrapper.ExceptionAction extends Enum<CompilationWrapper.ExceptionAction>
CompilationWrapper. The actions are with respect to what the user sees on the
console. The compilation requester determines what ultimate action is taken in
CompilationWrapper.handleException(Throwable).
The actions are in ascending order of verbosity.| Enum Constant and Description |
|---|
Diagnose
An exception causes the compilation to be retried with extra diagnostics enabled.
|
ExitVM
Same as
CompilationWrapper.ExceptionAction.Diagnose except that the VM process is exited after retrying. |
Print
Print a stack trace to the console.
|
Silent
Print nothing to the console.
|
| Modifier and Type | Method and Description |
|---|---|
static CompilationWrapper.ExceptionAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompilationWrapper.ExceptionAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompilationWrapper.ExceptionAction Silent
public static final CompilationWrapper.ExceptionAction Print
public static final CompilationWrapper.ExceptionAction Diagnose
public static final CompilationWrapper.ExceptionAction ExitVM
CompilationWrapper.ExceptionAction.Diagnose except that the VM process is exited after retrying.public static CompilationWrapper.ExceptionAction[] values()
public static CompilationWrapper.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