public enum ErrorTypes extends Enum<ErrorTypes>
| Enum Constant and Description |
|---|
ANNOTATOR_DOES_NOT_SUPPORT_EXPERIMENT
The annotator does not support the experiment type.
|
ANNOTATOR_LOADING_ERROR
The annotator couldn't be loaded.
|
ANNOTATOR_NEEDED_TOO_MUCH_TIME
The annotator needed too much time and has been interrupted.
|
DATASET_DOES_NOT_SUPPORT_EXPERIMENT
The dataset does not support the experiment type.
|
DATASET_LOADING_ERROR
The dataset couldn't be loaded.
|
MATCHING_DOES_NOT_SUPPORT_EXPERIMENT
The matching does not support the experiment type.d
|
SERVER_STOPPED_WHILE_PROCESSING
The GERBIL server has been stopped while the experiment was running.
|
TOO_MANY_SINGLE_ERRORS
The annotator caused too many single errors.
|
UNEXPECTED_EXCEPTION
Got an unexpected exception while running the experiment.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
HIGHEST_ERROR_CODE |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
int |
getErrorCode() |
static ErrorTypes |
getErrorType(int errorCode)
Checks whether the given code is an error code and returns the error
type.
|
static ErrorTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorTypes DATASET_DOES_NOT_SUPPORT_EXPERIMENT
public static final ErrorTypes DATASET_LOADING_ERROR
public static final ErrorTypes ANNOTATOR_DOES_NOT_SUPPORT_EXPERIMENT
public static final ErrorTypes ANNOTATOR_LOADING_ERROR
public static final ErrorTypes MATCHING_DOES_NOT_SUPPORT_EXPERIMENT
public static final ErrorTypes UNEXPECTED_EXCEPTION
public static final ErrorTypes SERVER_STOPPED_WHILE_PROCESSING
public static final ErrorTypes TOO_MANY_SINGLE_ERRORS
public static final ErrorTypes ANNOTATOR_NEEDED_TOO_MUCH_TIME
public static final int HIGHEST_ERROR_CODE
public static ErrorTypes[] values()
for (ErrorTypes c : ErrorTypes.values()) System.out.println(c);
public static ErrorTypes 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 int getErrorCode()
public String getDescription()
public static ErrorTypes getErrorType(int errorCode)
errorCode - the error code for which the error type should be returned.Copyright © 2014–2017. All rights reserved.