public enum SmackError extends Enum<SmackError>
| Enum Constant and Description |
|---|
NO_RESPONSE_FROM_SERVER |
| Modifier and Type | Method and Description |
|---|---|
static SmackError |
getErrorCode(String message) |
String |
getErrorMessage() |
static SmackError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SmackError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SmackError NO_RESPONSE_FROM_SERVER
public static SmackError[] values()
for (SmackError c : SmackError.values()) System.out.println(c);
public static SmackError 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 getErrorMessage()
public static SmackError getErrorCode(String message)
Copyright © 2014. All Rights Reserved.