org.apache.commons.attributes
Class MultipleAttributesError

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Error
          extended byorg.apache.commons.attributes.MultipleAttributesError
All Implemented Interfaces:
Serializable

public class MultipleAttributesError
extends 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(String clazz)
          Create a new MultipleAttributesError.
 
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(String clazz)
Create a new MultipleAttributesError.

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


Copyright © The Apache Software Foundation. All Rights Reserved.