Package com.amazon.SellingPartnerAPIAA
Enum LWAExceptionErrorCode
- java.lang.Object
-
- java.lang.Enum<LWAExceptionErrorCode>
-
- com.amazon.SellingPartnerAPIAA.LWAExceptionErrorCode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LWAExceptionErrorCode>
public enum LWAExceptionErrorCode extends java.lang.Enum<LWAExceptionErrorCode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description access_denied
invalid_client
invalid_grant
invalid_request
invalid_scope
other
server_error
temporarily_unavailable
unauthorized_client
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LWAExceptionErrorCode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LWAExceptionErrorCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
access_denied
public static final LWAExceptionErrorCode access_denied
-
invalid_grant
public static final LWAExceptionErrorCode invalid_grant
-
invalid_request
public static final LWAExceptionErrorCode invalid_request
-
invalid_scope
public static final LWAExceptionErrorCode invalid_scope
-
server_error
public static final LWAExceptionErrorCode server_error
-
temporarily_unavailable
public static final LWAExceptionErrorCode temporarily_unavailable
-
unauthorized_client
public static final LWAExceptionErrorCode unauthorized_client
-
invalid_client
public static final LWAExceptionErrorCode invalid_client
-
other
public static final LWAExceptionErrorCode other
-
-
Method Detail
-
values
public static LWAExceptionErrorCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LWAExceptionErrorCode c : LWAExceptionErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LWAExceptionErrorCode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-