KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > inversoft > util > variable > ExpanderException


1 /*
2  * Copyright (c) 2003, Inversoft
3  *
4  * This software is distribuable under the GNU Lesser General Public License.
5  * For more information visit gnu.org.
6  */

7 package com.inversoft.util.variable;
8
9
10 import com.inversoft.util.BaseException;
11
12
13 /**
14  * This class is the exception that is thrown from an
15  * expansion operation when an ExpanderStrategy encounters
16  * an error while attempting to expand a variable.
17  *
18  * @author Brian Pontarelli
19  * @since 1.0
20  * @version 1.0
21  */

22 public class ExpanderException extends BaseException {
23
24     /**
25      * Constructs a new empty <code>ExpanderException</code>
26      */

27     public ExpanderException() {
28         super();
29     }
30
31     /**
32      * Constructs a new <code>ExpanderException</code> with the given error
33      * message.
34      *
35      * @param message The error message for the exception
36      */

37     public ExpanderException(String JavaDoc message) {
38         super(message);
39     }
40
41     /**
42      * Constructs a new <code>ExpanderException</code> with the given error
43      * message and root cause
44      *
45      * @param message The error message for the exception
46      * @param cause The root cause throwable
47      */

48     public ExpanderException(String JavaDoc message, Throwable JavaDoc cause) {
49         super(message, cause);
50     }
51
52     /**
53      * Constructs a new <code>ExpanderException</code> with the given error
54      * root cause
55      *
56      * @param cause The root cause throwable
57      */

58     public ExpanderException(Throwable JavaDoc cause) {
59         super(cause);
60     }
61 }
62
Popular Tags