public static enum ParseError.ErrorType extends Enum<ParseError.ErrorType>
Enum Constant and Description |
---|
INTERNAL_ERROR
internal error was encountered
|
INVALID_ENTITY
entity validation failed
|
INVALID_FORMAT
column is in an invalid format
|
INVALID_HEADER
header line seems to be invalid
|
INVALID_NULL
null value for this field is invalid
|
MUST_NOT_BE_BLANK
field must not be blank and no data specified
|
NO_HEADER
no header line read
|
NONE
no error
|
TOO_MANY_COLUMNS
line seems to have extra columns
|
TRUNCATED_COLUMN
column seems to be truncated
|
TRUNCATED_LINE
line seems to be truncated
|
Modifier and Type | Method and Description |
---|---|
String |
getTypeMessage() |
static ParseError.ErrorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParseError.ErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParseError.ErrorType NONE
public static final ParseError.ErrorType INVALID_FORMAT
public static final ParseError.ErrorType TRUNCATED_COLUMN
public static final ParseError.ErrorType NO_HEADER
public static final ParseError.ErrorType INVALID_HEADER
public static final ParseError.ErrorType INVALID_NULL
public static final ParseError.ErrorType MUST_NOT_BE_BLANK
public static final ParseError.ErrorType INTERNAL_ERROR
public static final ParseError.ErrorType TRUNCATED_LINE
public static final ParseError.ErrorType TOO_MANY_COLUMNS
public static final ParseError.ErrorType INVALID_ENTITY
public static ParseError.ErrorType[] values()
for (ParseError.ErrorType c : ParseError.ErrorType.values()) System.out.println(c);
public static ParseError.ErrorType 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 getTypeMessage()
This documentation content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.