Class UnclosedElementException

All Implemented Interfaces:
Serializable

public final class UnclosedElementException extends IllegalStateException
Exception thrown when an XML writer is closed but there is still and open element tag without it closing element.

This exception simply notifies that the XML will not be well-formed, if writer is closed before the remaining open elements are closed.

Version:
14 May 2005
See Also:
  • Field Details

    • serialVersionUID

      static final long serialVersionUID
      Version number for the serialised class.
      See Also:
  • Constructor Details

    • UnclosedElementException

      public UnclosedElementException(String name)
      Create a new unclosed element exception.
      Parameters:
      name - The name of the unclosed element.