xml2class
XML data structures

xml2class
Class X2cTagException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--xml2class.X2cException
                    |
                    +--xml2class.X2cTagException
All Implemented Interfaces:
java.io.Serializable

public class X2cTagException
extends X2cException

This exception is thrown when an (end)tag is missing or when there was an unexpected or unknown tag or entity.

When this exception is thrown, it usually is a sign for not well-formed / valid XML.

Author:
Simon Bünzli, zeniko@gmx.ch
See Also:
X2cException, XML2ClassParser, Serialized Form

Constructor Summary
X2cTagException()
          Constructs an X2cTagException with no specified detail message.
X2cTagException(java.lang.String errorMessage)
          Constructs an X2cTagException with the specified detail message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

X2cTagException

public X2cTagException()
Constructs an X2cTagException with no specified detail message.

X2cTagException

public X2cTagException(java.lang.String errorMessage)
Constructs an X2cTagException with the specified detail message.
Parameters:
s - the detail message.

xml2class
XML data structures

Copyleft 2001 by Simon Bünzli, zeniko@gmx.ch