public enum ErrorHandlingMode extends Enum<ErrorHandlingMode>
Enum Constant and Description |
---|
ABORT |
IGNORE_BAD_RECORDS |
PERMISSIVE |
Modifier and Type | Method and Description |
---|---|
String |
defaultMode() |
String |
getText() |
static ErrorHandlingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorHandlingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorHandlingMode PERMISSIVE
public static final ErrorHandlingMode IGNORE_BAD_RECORDS
public static final ErrorHandlingMode ABORT
public static ErrorHandlingMode[] values()
for (ErrorHandlingMode c : ErrorHandlingMode.values()) System.out.println(c);
public static ErrorHandlingMode 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 String getText()
public String defaultMode()
Copyright © 2024. All rights reserved.