xml2class
XML data structures

xml2class
Class X2cClassBuildingException

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

public class X2cClassBuildingException
extends X2cException

This exception is thrown when one of the XML elements or attributes did not correspond to an already present class or method, so that Java couldn't build that object.

Any ClassNotFoundException, NoSuchMethodException, InstantiationException, IllegalAccessException and InvocationTargetException will be converted to a X2cClassBuildingException.

Author:
Simon Bünzli, zeniko@gmx.ch
See Also:
X2cException, XML2ClassParser, ClassNotFoundException, NoSuchMethodException, InstantiationException, IllegalAccessException, InvocationTargetException, Serialized Form

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

X2cClassBuildingException

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

X2cClassBuildingException

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

xml2class
XML data structures

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