public enum ErrorMode extends Enum<ErrorMode>
Enum Constant and Description |
---|
BOUNDARY
Report error after an inner source terminated.
|
END
Report the error after all sources terminated.
|
IMMEDIATE
Report the error immediately, cancelling the active inner source.
|
Modifier and Type | Method and Description |
---|---|
static ErrorMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorMode IMMEDIATE
public static final ErrorMode BOUNDARY
public static final ErrorMode END
public static ErrorMode[] values()
for (ErrorMode c : ErrorMode.values()) System.out.println(c);
public static ErrorMode 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 © 2018 JBoss by Red Hat. All rights reserved.