public static enum JavascriptVm.ExceptionCatchMode extends java.lang.Enum<JavascriptVm.ExceptionCatchMode>
Enum Constant and Description |
---|
ALL
VM always breaks when exception is being thrown.
|
NONE
VM doesn't break when exception is being thrown.
|
UNCAUGHT
VM breaks when exception is being thrown without try-catch that is going to catch it.
|
Modifier and Type | Method and Description |
---|---|
static JavascriptVm.ExceptionCatchMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JavascriptVm.ExceptionCatchMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JavascriptVm.ExceptionCatchMode ALL
public static final JavascriptVm.ExceptionCatchMode UNCAUGHT
public static final JavascriptVm.ExceptionCatchMode NONE
public static JavascriptVm.ExceptionCatchMode[] values()
for (JavascriptVm.ExceptionCatchMode c : JavascriptVm.ExceptionCatchMode.values()) System.out.println(c);
public static JavascriptVm.ExceptionCatchMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.