KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > inversoft > config > ConfigurationException


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.config;
8
9
10 import com.inversoft.error.ErrorList;
11 import com.inversoft.util.BaseException;
12
13
14 /**
15  * This class is the generic exception thrown whenever there
16  * is a configuration error.
17  *
18  * @author Brian Pontarelli
19  * @since 1.0
20  * @version 2.0
21  */

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

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

37     public ConfigurationException(String JavaDoc message) {
38         super(message);
39     }
40
41     /**
42      * Constructs a new <code>ConfigurationException</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 ConfigurationException(String JavaDoc message, Throwable JavaDoc cause) {
49         super(message, cause);
50     }
51
52     /**
53      * Constructs a new <code>ConfigurationException</code> with the given error
54      * root cause
55      *
56      * @param cause The root cause throwable
57      */

58     public ConfigurationException(Throwable JavaDoc cause) {
59         super(cause);
60     }
61     
62     /**
63      * Constructs a new <code>ConfigurationException</code> with the given
64      * ErrorList
65      *
66      * @param errors The ErrorList for this exception
67      */

68     public ConfigurationException(ErrorList errors) {
69         super(errors);
70     }
71 }
72
Popular Tags