public static enum FieldParser.ParseErrorState extends Enum<FieldParser.ParseErrorState>
| Enum Constant and Description |
|---|
BOOLEAN_INVALID
Invalid Boolean value
|
EMPTY_STRING
The string is empty.
|
NONE
No error occurred.
|
NUMERIC_VALUE_FORMAT_ERROR
The field was not in a correct format for the numeric type.
|
NUMERIC_VALUE_ILLEGAL_CHARACTER
An illegal character was encountered while parsing a numeric type.
|
NUMERIC_VALUE_ORPHAN_SIGN
A stand-alone sign was encountered while parsing a numeric type.
|
NUMERIC_VALUE_OVERFLOW_UNDERFLOW
The domain of the numeric type is not large enough to hold the parsed value.
|
UNQUOTED_CHARS_AFTER_QUOTED_STRING
The parser found characters between the end of the quoted string and the delimiter.
|
UNTERMINATED_QUOTED_STRING
A quoted string was not terminated until the line end.
|
| Modifier and Type | Method and Description |
|---|---|
static FieldParser.ParseErrorState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FieldParser.ParseErrorState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FieldParser.ParseErrorState NONE
public static final FieldParser.ParseErrorState NUMERIC_VALUE_OVERFLOW_UNDERFLOW
public static final FieldParser.ParseErrorState NUMERIC_VALUE_ORPHAN_SIGN
public static final FieldParser.ParseErrorState NUMERIC_VALUE_ILLEGAL_CHARACTER
public static final FieldParser.ParseErrorState NUMERIC_VALUE_FORMAT_ERROR
public static final FieldParser.ParseErrorState UNTERMINATED_QUOTED_STRING
public static final FieldParser.ParseErrorState UNQUOTED_CHARS_AFTER_QUOTED_STRING
public static final FieldParser.ParseErrorState EMPTY_STRING
public static final FieldParser.ParseErrorState BOOLEAN_INVALID
public static FieldParser.ParseErrorState[] values()
for (FieldParser.ParseErrorState c : FieldParser.ParseErrorState.values()) System.out.println(c);
public static FieldParser.ParseErrorState 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 © 2014–2016 The Apache Software Foundation. All rights reserved.