org.apache.commons.attributes

Class MultipleAttributesError


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

Constructor Summary

MultipleAttributesError(String clazz)
Create a new MultipleAttributesError.

Constructor Details

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