Package uk.blankaspect.common.jsonxml
Class JsonGeneratorXml.NoNameAttributeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
uk.blankaspect.common.jsonxml.JsonGeneratorXml.ElementException
uk.blankaspect.common.jsonxml.JsonGeneratorXml.NoNameAttributeException
- All Implemented Interfaces:
Serializable
- Enclosing class:
JsonGeneratorXml
public static class JsonGeneratorXml.NoNameAttributeException
extends JsonGeneratorXml.ElementException
This class implements an unchecked exception that is thrown in response to an XML element
that is a member of an <object> element but has no name attribute.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNoNameAttributeException(Element element) Creates a new instance of an exception that is associated with the specified XML element. -
Method Summary
Methods inherited from class uk.blankaspect.common.jsonxml.JsonGeneratorXml.ElementException
getElement, toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
NoNameAttributeException
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.
-