This namespace contains the exceptions we may throw. Exceptions may be thrown because of incorrect nesting of tags, invalid attributes, etc.

Classes

  ClassDescription
Public classAttributeException
An exception caused by an incorrect usage of an attribute.
Public classParentChildException
An exception with the nesting of tags. Contains both the parent and child tags that caused it.
Public classStructureException

An exception with the structure of the elements.

For example, when you try to add a child element to a Br.

Public classTypeException

An exception with the type of the child elements.

For example, when you try to add a Document to a P.

Public classUsageException
An element was used incorrectly.