Package com.linkedin.venice.exceptions
Enum Class ErrorType
- All Implemented Interfaces:
Serializable
,Comparable<ErrorType>
,Constable
ExceptionType
enum did not have a default deserialization annotation and this makes it non-evolvable till all
clients upgrade to newer versions. This temporary enum is created to have an evolvable ExceptionType while mapping
new types to previously existing ExceptionTypes.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
-
Enum Constant Details
-
INCORRECT_CONTROLLER
-
INVALID_SCHEMA
-
INVALID_CONFIG
-
STORE_NOT_FOUND
-
SCHEMA_NOT_FOUND
-
CONNECTION_ERROR
-
GENERAL_ERROR
-
BAD_REQUEST
-
CONCURRENT_BATCH_PUSH
-
RESOURCE_STILL_EXISTS
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getExceptionType
-