1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.apache.commons.configuration;
18
19 import org.apache.commons.lang.exception.NestableException;
20
21 /***
22 * Any exception that occurs while initializing a Configuration
23 * object.
24 *
25 * @author Eric Pugh
26 * @version $Revision$, $Date: 2005-02-26 13:56:39 +0100 (Sat, 26 Feb 2005) $
27 */
28 public class ConfigurationException extends NestableException
29 {
30 /***
31 * Constructs a new <code>ConfigurationException</code> without specified
32 * detail message.
33 */
34 public ConfigurationException()
35 {
36 super();
37 }
38
39 /***
40 * Constructs a new <code>ConfigurationException</code> with specified
41 * detail message.
42 *
43 * @param message the error message
44 */
45 public ConfigurationException(String message)
46 {
47 super(message);
48 }
49
50 /***
51 * Constructs a new <code>ConfigurationException</code> with specified
52 * nested <code>Throwable</code>.
53 *
54 * @param cause the exception or error that caused this exception to be thrown
55 */
56 public ConfigurationException(Throwable cause)
57 {
58 super(cause);
59 }
60
61 /***
62 * Constructs a new <code>ConfigurationException</code> with specified
63 * detail message and nested <code>Throwable</code>.
64 *
65 * @param message the error message
66 * @param cause the exception or error that caused this exception to be thrown
67 */
68 public ConfigurationException(String message, Throwable cause)
69 {
70 super(message, cause);
71 }
72 }