public enum ProblemType extends Enum<ProblemType>
| Modifier and Type | Method and Description |
|---|---|
static ProblemType |
get(String message) |
ProblemResponseAction |
getAction() |
String |
getMessage() |
static ProblemType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProblemType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProblemType NOT_FOUND
public static final ProblemType MATCH_ALL_DOCS
public static final ProblemType UNDEFINED_FIELD
public static final ProblemType RECORD_NOT_INDEXED
public static final ProblemType RECORD_NOT_FOUND
public static final ProblemType PAGE_NOT_FOUND
public static final ProblemType RECORD_REVOKED
public static final ProblemType MALFORMED_URL
public static final ProblemType MALFORMED_QUERY
public static final ProblemType UNKNOWN
public static final ProblemType UNABLE_TO_CHANGE_LANGUAGE
public static final ProblemType TOKEN_INVALID
public static final ProblemType TOKEN_EXPIRED
public static final ProblemType TOKEN_MISMATCH
public static final ProblemType UNKNOWN_TOKEN
public static final ProblemType TOKEN_OUTDATED
public static final ProblemType SOLR_UNREACHABLE
public static final ProblemType UNABLE_TO_PARSE_CURSORMARK
public static final ProblemType UNABLE_TO_PARSE_JSON
public static final ProblemType MALFORMED_SPRING_TYPE_CONVERSION
public static final ProblemType NONE
public static final ProblemType INCONSISTENT_DATA
public static final ProblemType INVALIDARGUMENTS
public static final ProblemType INVALIDCLASS
public static final ProblemType UNKNOWN_MONGO_DB_HOST
public static final ProblemType MONGO_UNREACHABLE
public static final ProblemType NEO4J_CANNOTGETNODE
public static final ProblemType XMPMETADATACREATION
public static final ProblemType XMPMETADATARETRIEVAL
public static final ProblemType NO_USERNAME
public static final ProblemType NO_PASSWORD
public static final ProblemType NO_OLD_PASSWORD
public static final ProblemType NO_USER_ID
public static final ProblemType NO_USER
public static final ProblemType MISSING_PARAM_USERNAME
public static final ProblemType MISSING_PARAM_EMAIL
public static final ProblemType MISSING_PARAM_PASSWORD
public static final ProblemType DUPLICATE
public static final ProblemType RECORD_RETRIEVAL_ERROR
public static final ProblemType INVALID_URL
public static final ProblemType SEARCH_LIMIT_REACHED
public static ProblemType[] values()
for (ProblemType c : ProblemType.values()) System.out.println(c);
public static ProblemType 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 static ProblemType get(String message)
public String getMessage()
public ProblemResponseAction getAction()
Copyright © 2017 Europeana Foundation. All rights reserved.