Enum ErrorCodes

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

    public enum ErrorCodes
    extends java.lang.Enum<ErrorCodes>
    • Enum Constant Detail

      • ContinueError

        public static final ErrorCodes ContinueError
      • SwitchingProtocolsError

        public static final ErrorCodes SwitchingProtocolsError
      • ProcessingError

        public static final ErrorCodes ProcessingError
      • MultipleChoicesError

        public static final ErrorCodes MultipleChoicesError
      • MovedError

        public static final ErrorCodes MovedError
      • FoundError

        public static final ErrorCodes FoundError
      • SeeOtherError

        public static final ErrorCodes SeeOtherError
      • NotModifiedError

        public static final ErrorCodes NotModifiedError
      • UseProxyError

        public static final ErrorCodes UseProxyError
      • TemporaryRedirectError

        public static final ErrorCodes TemporaryRedirectError
      • PermanentRedirectError

        public static final ErrorCodes PermanentRedirectError
      • BadRequestError

        public static final ErrorCodes BadRequestError
      • UnauthorizedError

        public static final ErrorCodes UnauthorizedError
      • PaymentRequiredError

        public static final ErrorCodes PaymentRequiredError
      • ForbiddenError

        public static final ErrorCodes ForbiddenError
      • NotFoundError

        public static final ErrorCodes NotFoundError
      • MethodNotAllowedError

        public static final ErrorCodes MethodNotAllowedError
      • NotAcceptableError

        public static final ErrorCodes NotAcceptableError
      • ProxyAuthenticationRequiredError

        public static final ErrorCodes ProxyAuthenticationRequiredError
      • RequestTimeoutError

        public static final ErrorCodes RequestTimeoutError
      • ConflictError

        public static final ErrorCodes ConflictError
      • GoneError

        public static final ErrorCodes GoneError
      • LengthRequiredError

        public static final ErrorCodes LengthRequiredError
      • PreconditionFailedError

        public static final ErrorCodes PreconditionFailedError
      • RequestTooLargeError

        public static final ErrorCodes RequestTooLargeError
      • URLTooLongError

        public static final ErrorCodes URLTooLongError
      • UnsupportedMediaTypeError

        public static final ErrorCodes UnsupportedMediaTypeError
      • RequestedRangeNotSatisfiableError

        public static final ErrorCodes RequestedRangeNotSatisfiableError
      • ExpectationFailedError

        public static final ErrorCodes ExpectationFailedError
      • ImATeapotError

        public static final ErrorCodes ImATeapotError
      • AuthenticationTimeoutError

        public static final ErrorCodes AuthenticationTimeoutError
      • PolicyNotFulfilledError

        public static final ErrorCodes PolicyNotFulfilledError
      • MisdirectedRequestError

        public static final ErrorCodes MisdirectedRequestError
      • UnprocessableEntityError

        public static final ErrorCodes UnprocessableEntityError
      • LockedError

        public static final ErrorCodes LockedError
      • FailedDependencyError

        public static final ErrorCodes FailedDependencyError
      • UpgradeRequiredError

        public static final ErrorCodes UpgradeRequiredError
      • PreconditionRequiredError

        public static final ErrorCodes PreconditionRequiredError
      • TooManyRequestsError

        public static final ErrorCodes TooManyRequestsError
      • RequestHeaderTooLargeError

        public static final ErrorCodes RequestHeaderTooLargeError
      • UnavaliableForLegalReasonsError

        public static final ErrorCodes UnavaliableForLegalReasonsError
      • InternalServerError

        public static final ErrorCodes InternalServerError
      • NotImplementedError

        public static final ErrorCodes NotImplementedError
      • BadGatewayError

        public static final ErrorCodes BadGatewayError
      • ServiceUnavaliableError

        public static final ErrorCodes ServiceUnavaliableError
      • GatewayTimeoutError

        public static final ErrorCodes GatewayTimeoutError
      • VersionNotSupportedError

        public static final ErrorCodes VersionNotSupportedError
      • InsufficientStorageError

        public static final ErrorCodes InsufficientStorageError
      • LoopDetectedError

        public static final ErrorCodes LoopDetectedError
      • BandwithLimitExceededError

        public static final ErrorCodes BandwithLimitExceededError
      • NetworkAuthenticationRequiredError

        public static final ErrorCodes NetworkAuthenticationRequiredError
    • Field Detail

      • value

        public final int value
    • Method Detail

      • values

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

        public static ErrorCodes valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • value

        public int value()
      • fromValue

        public static ErrorCodes fromValue​(java.lang.Integer value)