public static enum StanzaError.Condition extends Enum<StanzaError.Condition>
Modifier and Type | Method and Description |
---|---|
static StanzaError.Condition |
fromString(String string) |
String |
toString() |
static StanzaError.Condition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StanzaError.Condition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StanzaError.Condition bad_request
public static final StanzaError.Condition conflict
public static final StanzaError.Condition feature_not_implemented
public static final StanzaError.Condition forbidden
public static final StanzaError.Condition gone
public static final StanzaError.Condition internal_server_error
public static final StanzaError.Condition item_not_found
public static final StanzaError.Condition jid_malformed
public static final StanzaError.Condition not_acceptable
public static final StanzaError.Condition not_allowed
public static final StanzaError.Condition not_authorized
public static final StanzaError.Condition policy_violation
public static final StanzaError.Condition recipient_unavailable
public static final StanzaError.Condition redirect
public static final StanzaError.Condition registration_required
public static final StanzaError.Condition remote_server_not_found
public static final StanzaError.Condition remote_server_timeout
public static final StanzaError.Condition resource_constraint
public static final StanzaError.Condition service_unavailable
public static final StanzaError.Condition subscription_required
public static final StanzaError.Condition undefined_condition
public static final StanzaError.Condition unexpected_request
public static StanzaError.Condition[] values()
for (StanzaError.Condition c : StanzaError.Condition.values()) System.out.println(c);
public static StanzaError.Condition valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<StanzaError.Condition>
public static StanzaError.Condition fromString(String string)