|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.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 | |
---|---|
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're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, 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 final 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 namepublic String toString()
toString
in class Enum<AdHocCommand.SpecificErrorCondition>
|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |