Package uk.blankaspect.common.jsonxml
Class JsonGeneratorXml.ElementException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
uk.blankaspect.common.jsonxml.JsonGeneratorXml.ElementException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
JsonGeneratorXml.NoNameAttributeException,JsonGeneratorXml.UnrecognisedElementException
- Enclosing class:
JsonGeneratorXml
This is the abstract base class of an unchecked exception that is associated with an XML
element.
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedElementException(Element element) Creates a new instance of an exception that is associated with the specified XML element. -
Method Summary
Modifier and TypeMethodDescriptionReturns the element that is associated with this exception.toString()Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
ElementException
Creates a new instance of an exception that is associated with the specified XML element.- Parameters:
element- the XML element that will be associated with this exception.
-
-
Method Details