KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > sapia > util > text > TemplateException


1 package org.sapia.util.text;
2
3
4 // Import of Sapia's utility classes
5
// ---------------------------------
6
import org.sapia.util.CompositeException;
7
8
9 /**
10  * Thrown when some exception occurs when processing data to render.
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 TemplateException extends CompositeException {
21   /**
22    * Creates a new TemplateException instance with the arguments passed in.
23    *
24    * @param aMessage The message describing the error.
25    * @param aSourceError The source error to encapsulate.
26    */

27   public TemplateException(String JavaDoc aMessage, Throwable JavaDoc aSourceError) {
28     super(aMessage, aSourceError);
29   }
30
31   /**
32    * Creates a new TemplateException instance with the argument passed in.
33    *
34    * @param aMessage The message describing the error.
35    */

36   public TemplateException(String JavaDoc aMessage) {
37     super(aMessage);
38   }
39 }
40
Popular Tags