net.sf.jradius.exception
Class StandardViolatedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
net.sf.jradius.exception.RadiusException
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
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 |
StandardViolatedException
public StandardViolatedException(java.lang.Class standardClass,
java.util.List missing)
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.