nu.validator.relaxng.exceptions
Class BadAttributeValueException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.xml.sax.SAXException
              extended by org.xml.sax.SAXParseException
                  extended by nu.validator.relaxng.exceptions.AbstractValidationException
                      extended by nu.validator.relaxng.exceptions.BadAttributeValueException
All Implemented Interfaces:
Serializable

public class BadAttributeValueException
extends AbstractValidationException

See Also:
Serialized Form

Field Summary
private  Name attributeName
           
private  String attributeValue
           
private  Map exceptions
           
 
Fields inherited from class nu.validator.relaxng.exceptions.AbstractValidationException
localizer
 
Constructor Summary
BadAttributeValueException(Locator locator, Name currentElement, Name parent, Name attributeName, String attributeValue, Map exceptions)
           
 
Method Summary
private static String formatMessage(Name currentElement, Name attributeName, String attributeValue, Map exceptions)
           
 Name getAttributeName()
          Returns the attributeName.
 String getAttributeValue()
          Returns the attributeValue.
 Map getExceptions()
          Returns the exceptions.
 
Methods inherited from class nu.validator.relaxng.exceptions.AbstractValidationException
getCurrentElement, getParent
 
Methods inherited from class org.xml.sax.SAXParseException
getColumnNumber, getLineNumber, getPublicId, getSystemId
 
Methods inherited from class org.xml.sax.SAXException
getException, getMessage, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

attributeName

private final Name attributeName

attributeValue

private final String attributeValue

exceptions

private final Map exceptions
Constructor Detail

BadAttributeValueException

public BadAttributeValueException(Locator locator,
                                  Name currentElement,
                                  Name parent,
                                  Name attributeName,
                                  String attributeValue,
                                  Map exceptions)
Method Detail

formatMessage

private static String formatMessage(Name currentElement,
                                    Name attributeName,
                                    String attributeValue,
                                    Map exceptions)

getAttributeName

public Name getAttributeName()
Returns the attributeName.

Returns:
the attributeName

getAttributeValue

public String getAttributeValue()
Returns the attributeValue.

Returns:
the attributeValue

getExceptions

public Map getExceptions()
Returns the exceptions.

Returns:
the exceptions