xml2class
XML data structures

xml2class
Class X2cException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--xml2class.X2cException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
X2cClassBuildingException, X2cInputException, X2cInvalidTagException, X2cOutputException, X2cTagException

public class X2cException
extends java.lang.Exception

This exception class is superclass of any exception thrown by xml2class. For a facilitated exception handling, you may now care only about X2cExceptions, while for a more differentiated exception handling, you may catch specific subclasses.

Author:
Simon Bünzli, zeniko@gmx.ch
See Also:
XML2ClassParser, X2cClassBuildingException, X2cInputException, X2cInvalidTagException, X2cOutputException, X2cTagException, Exception, Serialized Form

Constructor Summary
X2cException()
          Constructs an X2cException with no specified detail message.
X2cException(java.lang.String s)
          Constructs an X2cException 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

X2cException

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

X2cException

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

xml2class
XML data structures

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