public static enum OAuth.Error.Type extends java.lang.Enum<OAuth.Error.Type>
Enum Constant and Description |
---|
COMMUNICATION |
EXPECTATION_FAILED |
MESSAGE_SIGNER |
NOT_AUTHORIZED |
OTHER |
Modifier and Type | Method and Description |
---|---|
static OAuth.Error.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OAuth.Error.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OAuth.Error.Type MESSAGE_SIGNER
public static final OAuth.Error.Type NOT_AUTHORIZED
public static final OAuth.Error.Type EXPECTATION_FAILED
public static final OAuth.Error.Type COMMUNICATION
public static final OAuth.Error.Type OTHER
public static OAuth.Error.Type[] values()
for (OAuth.Error.Type c : OAuth.Error.Type.values()) System.out.println(c);
public static OAuth.Error.Type 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 namejava.lang.NullPointerException
- if the argument is nullGuillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly