public enum GrobidExceptionStatus extends java.lang.Enum<GrobidExceptionStatus>
Enum Constant and Description |
---|
BAD_INPUT_DATA |
GENERAL |
NO_BLOCKS |
PARSING_ERROR |
PDFTOXML_CONVERSION_FAILURE |
TAGGING_ERROR |
TIMEOUT |
TOO_MANY_BLOCKS |
TOO_MANY_TOKENS |
Modifier and Type | Method and Description |
---|---|
static GrobidExceptionStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GrobidExceptionStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GrobidExceptionStatus BAD_INPUT_DATA
public static final GrobidExceptionStatus TAGGING_ERROR
public static final GrobidExceptionStatus PARSING_ERROR
public static final GrobidExceptionStatus TIMEOUT
public static final GrobidExceptionStatus TOO_MANY_BLOCKS
public static final GrobidExceptionStatus NO_BLOCKS
public static final GrobidExceptionStatus PDFTOXML_CONVERSION_FAILURE
public static final GrobidExceptionStatus TOO_MANY_TOKENS
public static final GrobidExceptionStatus GENERAL
public static GrobidExceptionStatus[] values()
for (GrobidExceptionStatus c : GrobidExceptionStatus.values()) System.out.println(c);
public static GrobidExceptionStatus 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