net.ripe.rpki.commons.provisioning.protocol
Enum ResponseExceptionType
java.lang.Object
java.lang.Enum<ResponseExceptionType>
net.ripe.rpki.commons.provisioning.protocol.ResponseExceptionType
- All Implemented Interfaces:
- Serializable, Comparable<ResponseExceptionType>
public enum ResponseExceptionType
- extends Enum<ResponseExceptionType>
BAD_DATA
public static final ResponseExceptionType BAD_DATA
UNKNOWN_PROVISIONING_URL
public static final ResponseExceptionType UNKNOWN_PROVISIONING_URL
UNKNOWN_SENDER
public static final ResponseExceptionType UNKNOWN_SENDER
UNKNOWN_RECIPIENT
public static final ResponseExceptionType UNKNOWN_RECIPIENT
BAD_SENDER_AND_RECIPIENT
public static final ResponseExceptionType BAD_SENDER_AND_RECIPIENT
POTENTIAL_REPLAY_ATTACK
public static final ResponseExceptionType POTENTIAL_REPLAY_ATTACK
THROTTLING
public static final ResponseExceptionType THROTTLING
values
public static ResponseExceptionType[] 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 (ResponseExceptionType c : ResponseExceptionType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ResponseExceptionType valueOf(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:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
getHttpResponseCode
public int getHttpResponseCode()
getDescription
public String getDescription()
Copyright © 2008-2012 RIPE NCC, the Netherlands. All Rights Reserved.