public static enum AdHocCommand.SpecificErrorCondition extends Enum<AdHocCommand.SpecificErrorCondition>
Enum Constant and Description |
---|
badAction
The responding JID cannot accept the specified action.
|
badLocale
The responding JID cannot accept the specified language/locale.
|
badPayload
The responding JID cannot accept the specified payload (e.g.
|
badSessionid
The responding JID cannot accept the specified sessionid.
|
malformedAction
The responding JID does not understand the specified action.
|
sessionExpired
The requesting JID specified a sessionid that is no longer active
(either because it was completed, canceled, or timed out).
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static AdHocCommand.SpecificErrorCondition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdHocCommand.SpecificErrorCondition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdHocCommand.SpecificErrorCondition badAction
public static final AdHocCommand.SpecificErrorCondition malformedAction
public static final AdHocCommand.SpecificErrorCondition badLocale
public static final AdHocCommand.SpecificErrorCondition badPayload
public static final AdHocCommand.SpecificErrorCondition badSessionid
public static final AdHocCommand.SpecificErrorCondition sessionExpired
public static AdHocCommand.SpecificErrorCondition[] values()
for (AdHocCommand.SpecificErrorCondition c : AdHocCommand.SpecificErrorCondition.values()) System.out.println(c);
public static AdHocCommand.SpecificErrorCondition 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<AdHocCommand.SpecificErrorCondition>