nu.validator.relaxng.exceptions
Class AbstractValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.xml.sax.SAXException
org.xml.sax.SAXParseException
nu.validator.relaxng.exceptions.AbstractValidationException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- BadAttributeValueException, ImpossibleAttributeIgnoredException, OnlyTextNotAllowedException, OutOfContextElementException, RequiredAttributesMissingException, RequiredElementsMissingException, StringNotAllowedException, TextNotAllowedException, UnfinishedElementException, UnknownElementException
public abstract class AbstractValidationException
- extends SAXParseException
- See Also:
- Serialized Form
localizer
protected static final Localizer localizer
currentElement
private final Name currentElement
parent
private final Name parent
AbstractValidationException
AbstractValidationException(String formattedMessage,
Locator locator,
Name currentElement,
Name parent)
getCurrentElement
public Name getCurrentElement()
- Returns the currentElement.
- Returns:
- the currentElement
getParent
public Name getParent()
- Returns the parent.
- Returns:
- the parent