Enum ExceptionType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<ExceptionType>

    @Deprecated
    public enum ExceptionType
    extends java.lang.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 Detail

      • 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 Detail

      • values

        public static ExceptionType[] values()
        Deprecated.
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ExceptionType c : ExceptionType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ExceptionType valueOf​(java.lang.String name)
        Deprecated.
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null