Class UnclosedElementException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalStateException
                  extended by com.topologi.diffx.xml.UnclosedElementException
All Implemented Interfaces:

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.

14 May 2005
Christophe Lauret
See Also:
Serialized Form

Constructor Summary
UnclosedElementException(String name)
          Create a new unclosed element exception.
Method Summary
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public UnclosedElementException(String name)
Create a new unclosed element exception.

name - The name of the unclosed element.