Enum RadiusProcessingExceptionNature
- java.lang.Object
-
- java.lang.Enum<RadiusProcessingExceptionNature>
-
- org.forgerock.openam.radius.server.RadiusProcessingExceptionNature
-
- All Implemented Interfaces:
Serializable,Comparable<RadiusProcessingExceptionNature>
public enum RadiusProcessingExceptionNature extends Enum<RadiusProcessingExceptionNature>
Enum that describes the nature of the exception.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CATASTROPHICIndicates that the exception is unrecoverable and no further responses will be sent.INVALID_RESPONSEIndicates that this response is invalid and is unable to be sent.TEMPORARY_FAILUREIndicates that the exception is temporary and the response should be re-tried.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RadiusProcessingExceptionNaturevalueOf(String name)Returns the enum constant of this type with the specified name.static RadiusProcessingExceptionNature[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CATASTROPHIC
public static final RadiusProcessingExceptionNature CATASTROPHIC
Indicates that the exception is unrecoverable and no further responses will be sent. The likely course of action on this kind of exception is to stop the RADIUS server.
-
INVALID_RESPONSE
public static final RadiusProcessingExceptionNature INVALID_RESPONSE
Indicates that this response is invalid and is unable to be sent. The likely course of action on this kind of exception is to log the error and terminate the authentication from the client.
-
TEMPORARY_FAILURE
public static final RadiusProcessingExceptionNature TEMPORARY_FAILURE
Indicates that the exception is temporary and the response should be re-tried. This is likely due to a network issue that may be resolved in the future. The likely course of action for this kind of exception is to try again later.
-
-
Method Detail
-
values
public static RadiusProcessingExceptionNature[] 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 (RadiusProcessingExceptionNature c : RadiusProcessingExceptionNature.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RadiusProcessingExceptionNature 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 nameNullPointerException- if the argument is null
-
-