Enum Class ExceptionType

java.lang.Object
java.lang.Enum<ExceptionType>
com.linkedin.venice.exceptions.ExceptionType
All Implemented Interfaces:
Serializable, Comparable<ExceptionType>, Constable

@Deprecated public enum ExceptionType extends Enum<ExceptionType>
Deprecated.
since v0.2.620 Previously, this enum didn't have the @JsonEnumDefaultValue annotation. This annotation helps Jackson deserialize arbitrary values to a default value instead of throwing an Exception. Without this annotation, the enum is essentially non-evolvable since there may be many clients that are already running older code. Use ErrorType instead.
A list of exception types/causes that can be added to error responses for clients to programmatically react.
  • Enum Constant Details

    • INCORRECT_CONTROLLER

      public static final ExceptionType INCORRECT_CONTROLLER
      Deprecated.
    • INVALID_SCHEMA

      public static final ExceptionType INVALID_SCHEMA
      Deprecated.
    • INVALID_CONFIG

      public static final ExceptionType INVALID_CONFIG
      Deprecated.
    • STORE_NOT_FOUND

      public static final ExceptionType STORE_NOT_FOUND
      Deprecated.
    • SCHEMA_NOT_FOUND

      public static final ExceptionType SCHEMA_NOT_FOUND
      Deprecated.
    • CONNECTION_ERROR

      public static final ExceptionType CONNECTION_ERROR
      Deprecated.
    • GENERAL_ERROR

      public static final ExceptionType GENERAL_ERROR
      Deprecated.
    • BAD_REQUEST

      public static final ExceptionType BAD_REQUEST
      Deprecated.
  • Method Details

    • values

      public static ExceptionType[] values()
      Deprecated.
      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

      public static ExceptionType valueOf(String name)
      Deprecated.
      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 name
      NullPointerException - if the argument is null