public enum ListenerErrorLocation extends Enum<ListenerErrorLocation>
| Enum Constant and Description |
|---|
ENTRY
Represents that the error location is before processing.
|
EXIT
Represents that the error location is before processing.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
getErrorLocationMessage(ListenerErrorLocation errorLocation)
Returns the message corresponding to listener error location.
|
static ListenerErrorLocation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListenerErrorLocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListenerErrorLocation ENTRY
public static final ListenerErrorLocation EXIT
public static ListenerErrorLocation[] values()
for (ListenerErrorLocation c : ListenerErrorLocation.values()) System.out.println(c);
public static ListenerErrorLocation 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 nullpublic static String getErrorLocationMessage(ListenerErrorLocation errorLocation)
errorLocation - enum value for type of errorCopyright © 2016. All rights reserved.