Enum ErrorSubCode

    • Enum Constant Detail

      • UNEXPECTED_ERROR

        public static final ErrorSubCode UNEXPECTED_ERROR
        Enum value UnexpectedError.
      • RESOURCE_ERROR

        public static final ErrorSubCode RESOURCE_ERROR
        Enum value ResourceError.
      • NOT_IMPLEMENTED

        public static final ErrorSubCode NOT_IMPLEMENTED
        Enum value NotImplemented.
      • PARAMETER_MISSING

        public static final ErrorSubCode PARAMETER_MISSING
        Enum value ParameterMissing.
      • PARAMETER_INVALID_VALUE

        public static final ErrorSubCode PARAMETER_INVALID_VALUE
        Enum value ParameterInvalidValue.
      • HTTP_NOT_ALLOWED

        public static final ErrorSubCode HTTP_NOT_ALLOWED
        Enum value HttpNotAllowed.
      • BLOCKED

        public static final ErrorSubCode BLOCKED
        Enum value Blocked.
      • AUTHORIZATION_MISSING

        public static final ErrorSubCode AUTHORIZATION_MISSING
        Enum value AuthorizationMissing.
      • AUTHORIZATION_REDUNDANCY

        public static final ErrorSubCode AUTHORIZATION_REDUNDANCY
        Enum value AuthorizationRedundancy.
      • AUTHORIZATION_DISABLED

        public static final ErrorSubCode AUTHORIZATION_DISABLED
        Enum value AuthorizationDisabled.
      • AUTHORIZATION_EXPIRED

        public static final ErrorSubCode AUTHORIZATION_EXPIRED
        Enum value AuthorizationExpired.
    • Method Detail

      • values

        public static ErrorSubCode[] values()
        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 (ErrorSubCode c : ErrorSubCode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ErrorSubCode valueOf​(String name)
        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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • fromString

        public static ErrorSubCode fromString​(String value)
        Parses a serialized value to a ErrorSubCode instance.
        Parameters:
        value - the serialized value to parse.
        Returns:
        the parsed ErrorSubCode object, or null if unable to parse.