public static enum IMixinErrorHandler.ErrorAction extends java.lang.Enum<IMixinErrorHandler.ErrorAction>
| Enum Constant and Description |
|---|
ERROR
Throw a
MixinApplyError to
halt further processing if possible |
NONE
Take no action, this should be treated as a non-critical error and
processing should continue
|
WARN
Generate a warning but continue processing
|
| Modifier and Type | Field and Description |
|---|---|
org.apache.logging.log4j.Level |
logLevel
Logging level for the specified error action
|
| Modifier and Type | Method and Description |
|---|---|
static IMixinErrorHandler.ErrorAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IMixinErrorHandler.ErrorAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IMixinErrorHandler.ErrorAction NONE
public static final IMixinErrorHandler.ErrorAction WARN
public static final IMixinErrorHandler.ErrorAction ERROR
MixinApplyError to
halt further processing if possiblepublic final org.apache.logging.log4j.Level logLevel
public static IMixinErrorHandler.ErrorAction[] values()
for (IMixinErrorHandler.ErrorAction c : IMixinErrorHandler.ErrorAction.values()) System.out.println(c);
public static IMixinErrorHandler.ErrorAction 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 null