public enum OnErrorAction extends Enum<OnErrorAction>
| Enum Constant and Description |
|---|
ABORT
Abort an item that was initiator of an action (for instance work item)
|
LOG
Collect information and log it to supported output.
|
RETHROW
Simply re-throw caught exception.
|
| Modifier and Type | Method and Description |
|---|---|
static OnErrorAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OnErrorAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OnErrorAction LOG
public static final OnErrorAction ABORT
public static final OnErrorAction RETHROW
public static OnErrorAction[] values()
for (OnErrorAction c : OnErrorAction.values()) System.out.println(c);
public static OnErrorAction 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 nullCopyright © 2001–2016 JBoss by Red Hat. All rights reserved.