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