Class RejectException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.sun.identity.authentication.modules.radius.client.RejectException
-
- All Implemented Interfaces:
Serializable
public class RejectException extends Exception
Exception used to pass a received AccessReject to calling code.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RejectException(AccessReject res)Construct a new instance with the received AccessReject response packet.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributeSetgetAttributeSet()Returns the attribute set of the contained AccessReject response packet.StringgetReplyMessage()Returns the reply message if any send with the AccessReject packet.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
RejectException
public RejectException(AccessReject res)
Construct a new instance with the received AccessReject response packet.- Parameters:
res- the AccessReject packet received.
-
-
Method Detail
-
getAttributeSet
public AttributeSet getAttributeSet()
Returns the attribute set of the contained AccessReject response packet.- Returns:
- the attribute set.
-
getReplyMessage
public String getReplyMessage()
Returns the reply message if any send with the AccessReject packet.- Returns:
- the reply message or null if not included.
-
-