public enum OnMismatch extends java.lang.Enum<OnMismatch>
| Enum Constant and Description |
|---|
ERROR
abort and throw error
|
LOG_WARN
don't stop.
|
LOG_WARN_ONCE
don't stop.
|
SILENT
silently ignore and go on.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toKey() |
static OnMismatch |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OnMismatch[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OnMismatch ERROR
public static final OnMismatch LOG_WARN
public static final OnMismatch LOG_WARN_ONCE
public static final OnMismatch SILENT
public java.lang.String toKey()
public static OnMismatch 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 nullpublic static OnMismatch[] values()
for (OnMismatch c : OnMismatch.values()) System.out.println(c);
Copyright © 2016, 2019, Oracle and/or its affiliates. All Rights Reserved.