Enum Class Failure

java.lang.Object
java.lang.Enum<Failure>
org.jivesoftware.openfire.sasl.Failure
All Implemented Interfaces:
Serializable, Comparable<Failure>, Constable

public enum Failure extends Enum<Failure>
XMPP specified SASL errors.
Author:
Guus der Kinderen, guus@goodbytes.nl
See Also:
  • Enum Constant Details

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

    • values

      public static Failure[] values()
      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 Failure valueOf(String name)
      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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Failure>