Package uk.blankaspect.common.jsonxml
Class JsonGeneratorXml.UnrecognisedElementException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
uk.blankaspect.common.jsonxml.JsonGeneratorXml.UnrecognisedElementException
- All Implemented Interfaces:
Serializable
- Enclosing class:
JsonGeneratorXml
This class implements an unchecked exception that is thrown in response to an unrecognised XML element.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnrecognisedElementException
(Element element) Creates a new instance of an exception that is associated with the specified unrecognised 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
-
UnrecognisedElementException
Creates a new instance of an exception that is associated with the specified unrecognised XML element.- Parameters:
element
- the XML element that will be associated with this exception.
-
-
Method Details