net.jradius.exception
Class StandardViolatedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
net.jradius.exception.RadiusException
net.jradius.exception.StandardViolatedException
- All Implemented Interfaces:
- 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 |
StandardViolatedException
public StandardViolatedException(Class standardClass,
List missing)
listAttributes
public String listAttributes()
- Returns:
- Returns same as listAttribtues(", ")
listAttributes
public String listAttributes(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 Class getStandardClass()
- Returns:
- Returns the Class the generated the exception
getMissingAttributes
public List getMissingAttributes()
- Returns:
- Returns the list of missing attributes (a list of Integers)
Copyright © 2011 Coova Technologies, LLC, All Rights Reserved.