KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > sapia > util > xml > confix > ObjectCreationException


1 package org.sapia.util.xml.confix;
2
3
4 // Import of Sapia's utility classes
5
// ---------------------------------
6
import org.sapia.util.CompositeException;
7
8
9 /**
10  * Thrown when an object factory could not create a given object.
11  *
12  * @author JC Desrochers
13  *
14  * <dl>
15  * <dt><b>Copyright:</b><dd>Copyright &#169; 2002-2003 <a HREF="http://www.sapia-oss.org">Sapia Open Source Software</a>. All Rights Reserved.</dd></dt>
16  * <dt><b>License:</b><dd>Read the license.txt file of the jar or visit the
17  * <a HREF="http://www.sapia-oss.org/license.html">license page</a> at the Sapia OSS web site</dd></dt>
18  * </dl>
19  */

20 public class ObjectCreationException extends CompositeException {
21   /////////////////////////////////////////////////////////////////////////////////////////
22
//////////////////////////////////// CONSTRUCTORS /////////////////////////////////////
23
/////////////////////////////////////////////////////////////////////////////////////////
24

25   /**
26    * Creates a new ObjectCreationException instance with the arguments passed in.
27    *
28    * @param aMessage The message describing the error.
29    * @param aSourceError The source error to encapsulate.
30    */

31   public ObjectCreationException(String JavaDoc aMessage, Throwable JavaDoc aSourceError) {
32     super(aMessage, aSourceError);
33   }
34
35   /**
36    * Creates a new ObjectCreationException instance with the argument passed in.
37    *
38    * @param aMessage The message describing the error.
39    */

40   public ObjectCreationException(String JavaDoc aMessage) {
41     super(aMessage);
42   }
43 }
44
Popular Tags