com.topologi.diffx.xml
Class UnclosedElementException

java.lang.Object
  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:
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
Author:
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

UnclosedElementException

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

Parameters:
name - The name of the unclosed element.