KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > sapia > util > xml > parser > HandlerStateCreationException


1 package org.sapia.util.xml.parser;
2
3
4 // Import of Sapia's utility classes
5
// ---------------------------------
6
import org.sapia.util.CompositeException;
7
8
9 /**
10  * This exception is thrown by the <CODE>HandlerStateFactoryIF</CODE> class when an error occurs
11  * creating a new <CODE>HandlerStateIF</CODE> instances.
12  *
13  * @see HandlerStateIF
14  * @see HandlerStateFactoryIF
15  * @author Jean-Cedric Desrochers
16  *
17  * <dl>
18  * <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>
19  * <dt><b>License:</b><dd>Read the license.txt file of the jar or visit the
20  * <a HREF="http://www.sapia-oss.org/license.html">license page</a> at the Sapia OSS web site</dd></dt>
21  * </dl>
22  */

23 public class HandlerStateCreationException extends CompositeException {
24   /////////////////////////////////////////////////////////////////////////////////////////
25
//////////////////////////////////// CONSTRUCTORS /////////////////////////////////////
26
/////////////////////////////////////////////////////////////////////////////////////////
27

28   /**
29    * Creates a new HandlerStateCreationException instance with the arguments passed in.
30    *
31    * @param aMessage The message describing the error.
32    * @param aSourceError The source error to encapsulate.
33    */

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

43   public HandlerStateCreationException(String JavaDoc aMessage) {
44     super(aMessage);
45   }
46 }
47
Popular Tags