|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<AdHocCommand.SpecificErrorCondition> org.jivesoftware.smackx.commands.AdHocCommand.SpecificErrorCondition
public static enum AdHocCommand.SpecificErrorCondition
Enum Constant Summary | |
---|---|
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). |
Method Summary | |
---|---|
java.lang.String |
toString()
|
static AdHocCommand.SpecificErrorCondition |
valueOf(java.lang.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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
public static AdHocCommand.SpecificErrorCondition[] values()
for (AdHocCommand.SpecificErrorCondition c : AdHocCommand.SpecificErrorCondition.values()) System.out.println(c);
public static AdHocCommand.SpecificErrorCondition valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<AdHocCommand.SpecificErrorCondition>
|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |