org.sapia.util.xml.confix
Class ObjectCreationException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.sapia.util.CompositeException
                    |
                    +--org.sapia.util.xml.confix.ObjectCreationException
All Implemented Interfaces:
Serializable

public class ObjectCreationException
extends org.sapia.util.CompositeException

Thrown when an object factory could not create a given object.

Author:
JC Desrochers
Copyright:
Copyright © 2002-2003 Sapia Open Source Software. All Rights Reserved.
License:
Read the license.txt file of the jar or visit the license page at the Sapia OSS web site
See Also:
Serialized Form

Constructor Summary
ObjectCreationException(String aMessage)
          Creates a new ObjectCreationException instance with the argument passed in.
ObjectCreationException(String aMessage, Throwable aSourceError)
          Creates a new ObjectCreationException instance with the arguments passed in.
 
Methods inherited from class org.sapia.util.CompositeException
getSourceError, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ObjectCreationException

public ObjectCreationException(String aMessage,
                               Throwable aSourceError)
Creates a new ObjectCreationException instance with the arguments passed in.

Parameters:
aMessage - The message describing the error.
aSourceError - The source error to encapsulate.

ObjectCreationException

public ObjectCreationException(String aMessage)
Creates a new ObjectCreationException instance with the argument passed in.

Parameters:
aMessage - The message describing the error.


Copyright © 2002 Sapia Open Source Software. All Rights Reserved.