net.sf.jradius.exception
Class StandardViolatedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.sf.jradius.exception.RadiusException
              extended by net.sf.jradius.exception.StandardViolatedException
All Implemented Interfaces:
java.io.Serializable

public class StandardViolatedException
extends RadiusException

The Exception thrown by a RadiusStandard which found missing attributes.

Author:
David Bird
See Also:
Serialized Form

Constructor Summary
StandardViolatedException(java.lang.Class standardClass, java.util.List missing)
           
 
Method Summary
 java.util.List getMissingAttributes()
           
 java.lang.Class getStandardClass()
           
 java.lang.String listAttributes()
           
 java.lang.String listAttributes(java.lang.String sep)
          Provides a listing of the names of the missing attributes
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StandardViolatedException

public StandardViolatedException(java.lang.Class standardClass,
                                 java.util.List missing)
Method Detail

listAttributes

public java.lang.String listAttributes()
Returns:
Returns same as listAttribtues(", ")

listAttributes

public java.lang.String listAttributes(java.lang.String sep)
Provides a listing of the names of the missing attributes

Parameters:
sep - delimiter to use between attribute names
Returns:
Returns the list of attribute names as a String

getStandardClass

public java.lang.Class getStandardClass()
Returns:
Returns the Class the generated the exception

getMissingAttributes

public java.util.List getMissingAttributes()
Returns:
Returns the list of missing attributes (a list of Integers)


Copyright © 2006 The JRadius Project, All Rights Reserved.