org.apache.commons.attributes
Class MultipleAttributesError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by org.apache.commons.attributes.MultipleAttributesError
All Implemented Interfaces:
java.io.Serializable

public class MultipleAttributesError
extends java.lang.Error

Thrown when one of the Attributes.getAttribute methods find more than one instance of the specified attribute class and the method only expected to find a single instance.

Since:
2.1
See Also:
Serialized Form

Constructor Summary
MultipleAttributesError(java.lang.String clazz)
          Create a new MultipleAttributesError.
 
Method Summary
 
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

MultipleAttributesError

public MultipleAttributesError(java.lang.String clazz)
Create a new MultipleAttributesError.

Parameters:
clazz - the name of the attribute class of which multiple instances were found.
Since:
2.1