Enum Failure

    • Enum Constant Detail

      • ABORTED

        public static final Failure ABORTED
      • ACCOUNT_DISABLED

        public static final Failure ACCOUNT_DISABLED
      • CREDENTIALS_EXPIRED

        public static final Failure CREDENTIALS_EXPIRED
      • ENCRYPTION_REQUIRED

        public static final Failure ENCRYPTION_REQUIRED
      • INCORRECT_ENCODING

        public static final Failure INCORRECT_ENCODING
      • INVALID_AUTHZID

        public static final Failure INVALID_AUTHZID
      • INVALID_MECHANISM

        public static final Failure INVALID_MECHANISM
      • MALFORMED_REQUEST

        public static final Failure MALFORMED_REQUEST
      • MECHANISM_TOO_WEAK

        public static final Failure MECHANISM_TOO_WEAK
      • NOT_AUTHORIZED

        public static final Failure NOT_AUTHORIZED
      • TEMPORARY_AUTH_FAILURE

        public static final Failure TEMPORARY_AUTH_FAILURE
    • Method Detail

      • values

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

        public static Failure 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