AXL RADIUS Server API V3

com.theorem.radserver3
Class AccessRejectException

Object
  extended byThrowable
      extended byException
          extended byAccessRejectException
All Implemented Interfaces:
Serializable

public final class AccessRejectException
extends Exception

Exception thrown by access, accounting, and extended packet implementation when an Access-Reject response packet is to be returned. Attributes may be returned by placing them in setAttributes().

See Also:
AccessImpl, AccountingImpl, ExtendedPacketImpl, Serialized Form

Constructor Summary
AccessRejectException(String msg)
          Constructor.
 
Method Summary
 AttributeList getAttributeList()
          Get the list of attributes to be returned with an Access-Reject packet.
 String getMessage()
          Get the error message associated with this error.
 void setAttributes(Attribute[] returnList)
          Set return attributes to be included in the Access-Reject packet.
 void setAttributes(AttributeList returnList)
          Set return attributes to be included in the Access-Reject packet.
 String toString()
          Return the error string.
 
Methods inherited from class Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AccessRejectException

public AccessRejectException(String msg)
Constructor.

Parameters:
msg - Message to display.
Method Detail

getAttributeList

public AttributeList getAttributeList()
Get the list of attributes to be returned with an Access-Reject packet.

Returns:
list of attributes.

getMessage

public String getMessage()
Get the error message associated with this error.

Returns:
Message.

setAttributes

public void setAttributes(Attribute[] returnList)
Set return attributes to be included in the Access-Reject packet.

Parameters:
returnList - Array of attributes to return.

setAttributes

public void setAttributes(AttributeList returnList)
Set return attributes to be included in the Access-Reject packet.

Parameters:
returnList - AttributeList to return.

toString

public String toString()
Return the error string.

Returns:
Message.

AXL RADIUS Server API V3

Submit a bug report or feature request

Copyright 1998-2008 AXL Software. PO Box 97, Viola, Delaware 19979, U.S.A. All Rights Reserved.