# Uses of Class
nu.xom.XMLException

Packages that use XMLException
Package
Description
nu.xom
`nu.xom` is the core package of XOM that contains all the basic classes representing the different kinds of nodes: elements, attributes, comments, text nodes, and so forth.

## Uses of XMLException in nu.xom

Subclasses of XMLException in nu.xom
Modifier and Type
Class
Description
`class`
`CycleException`
Indicates an attempt to insert an ancestor element as one of its own descendants.
`class`
`IllegalAddException`
Indicates an attempt to add a node in a wrong place; for instance adding a `Text` node to a `Document` object.
`class`
`IllegalCharacterDataException`
Indicates an attempt to create text content that is not allowed in XML 1.0.
`class`
`IllegalDataException`
Indicates an attempt to set some value to malformed content; for instance by adding a string containing a null or a vertical tab to a text node, or using white space in an element name.
`class`
`IllegalNameException`
Indicates an attempt to assign a name that is not a legal XML name.
`class`
`IllegalTargetException`
Indicates an attempt to assign a processing instruction target that is not a legal XML 1.0 processing instruction target.
`class`
`MalformedURIException`
Indicates that a string intended for use as a URI or URI reference (typically a namespace name or a base URI) is not syntactically correct according to RFC 3986.
`class`
`MultipleParentException`
Indicates an attempt to add a node that already has a parent to the same or a different parent.
`class`
`NamespaceConflictException`
Signals an attempt to set a namespace in a way that conflicts with an existing namespace; for instance, adding an attribute to an element that has the same prefix as the element but maps it to a different URI.
`class`
`NoSuchAttributeException`
Indicates that an attribute with a certain name and/or namespace does not exist.
`class`
`NoSuchChildException`
Indicates that a child with a certain name and/or namespace does not exist.
`class`
`UnavailableCharacterException`
Thrown when serializing documents that contain characters not available in the current encoding, and which cannot be escaped (for instance, because they're in an element name or processing instruction data).
`class`
`WellformednessException`
Indicates an attempt to do or create something that could not possibly be serialized in a namespace well-formed XML 1.0 document.