Class ChallengeException

  • All Implemented Interfaces:
    Serializable

    public class ChallengeException
    extends Exception
    Used for handling received challenge responses from radius servers.
    See Also:
    Serialized Form
    • Constructor Detail

      • ChallengeException

        public ChallengeException​(AccessChallenge res)
        Constructs an instance from the received response packet.
        Parameters:
        res - the response packet.
    • Method Detail

      • getAttributeSet

        public AttributeSet getAttributeSet()
        Returns the set of attributes in this packet.
        Returns:
        the set of attributes.
      • getState

        public String getState()
        Returns the state value for the packet as contained in the nested state attribute.
        Returns:
        the state value.
      • getReplyMessage

        public String getReplyMessage()
        Returns the value of the first incurred reply message attribute contained in the packet.
        Returns:
        the message string or the empty string if not found