public enum ResponseExceptionType extends Enum<ResponseExceptionType>
| Enum Constant and Description |
|---|
BAD_DATA |
BAD_SENDER_AND_RECIPIENT |
POTENTIAL_REPLAY_ATTACK |
THROTTLING |
UNKNOWN_PROVISIONING_URL |
UNKNOWN_RECIPIENT |
UNKNOWN_SENDER |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
int |
getHttpResponseCode() |
static ResponseExceptionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResponseExceptionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResponseExceptionType BAD_DATA
public static final ResponseExceptionType UNKNOWN_PROVISIONING_URL
public static final ResponseExceptionType UNKNOWN_SENDER
public static final ResponseExceptionType UNKNOWN_RECIPIENT
public static final ResponseExceptionType BAD_SENDER_AND_RECIPIENT
public static final ResponseExceptionType POTENTIAL_REPLAY_ATTACK
public static final ResponseExceptionType THROTTLING
public static ResponseExceptionType[] values()
for (ResponseExceptionType c : ResponseExceptionType.values()) System.out.println(c);
public static ResponseExceptionType 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 int getHttpResponseCode()
public String getDescription()
Copyright © 2008–2021 RIPE Network Coordination Centre (RIPE NCC). All rights reserved.