public enum ParseErrorAction extends Enum<ParseErrorAction>
ParsingOptions
Enum Constant and Description |
---|
DISCARD
Discard the record.
|
ERROR
Throw a runtime exception causing processing to abort immediately.
|
IGNORE
Ignore the error and continue to process the record.
|
WARN
Log a warning message, but continue to process the record in error.
|
WARN_AND_DISCARD
Log a warning message and discard the record.
|
Modifier and Type | Method and Description |
---|---|
static ParseErrorAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParseErrorAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParseErrorAction ERROR
public static final ParseErrorAction WARN_AND_DISCARD
public static final ParseErrorAction WARN
public static final ParseErrorAction DISCARD
public static final ParseErrorAction IGNORE
public static ParseErrorAction[] values()
for (ParseErrorAction c : ParseErrorAction.values()) System.out.println(c);
public static ParseErrorAction 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 © 2016 Actian Corporation. All rights reserved.