net.ripe.rpki.commons.provisioning.protocol
Enum ResponseExceptionType

java.lang.Object
  extended by java.lang.Enum<ResponseExceptionType>
      extended by net.ripe.rpki.commons.provisioning.protocol.ResponseExceptionType
All Implemented Interfaces:
Serializable, Comparable<ResponseExceptionType>

public enum ResponseExceptionType
extends Enum<ResponseExceptionType>


Enum Constant Summary
BAD_DATA
           
BAD_SENDER_AND_RECIPIENT
           
POTENTIAL_REPLAY_ATTACK
           
THROTTLING
           
UNKNOWN_PROVISIONING_URL
           
UNKNOWN_RECIPIENT
           
UNKNOWN_SENDER
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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-2015 RIPE NCC, the Netherlands. All Rights Reserved.