Enum Constant and Description |
---|
CantDetectError |
CantOpenTrainData |
DuplicateLangError |
FileLoadError |
FormatError |
InitParamError |
NeedLoadProfileError |
NoTextError |
TrainDataFormatError |
Modifier and Type | Method and Description |
---|---|
static ErrorCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorCode NoTextError
public static final ErrorCode FormatError
public static final ErrorCode FileLoadError
public static final ErrorCode DuplicateLangError
public static final ErrorCode NeedLoadProfileError
public static final ErrorCode CantDetectError
public static final ErrorCode CantOpenTrainData
public static final ErrorCode TrainDataFormatError
public static final ErrorCode InitParamError
public static ErrorCode[] values()
for (ErrorCode c : ErrorCode.values()) System.out.println(c);
public static ErrorCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null