1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package com.tomgibara.pronto.config;
19
20 import com.tomgibara.pronto.core.ProntoException;
21
22 /**
23 * Instances of this exception are thrown when a Config encounters a problem
24 * satisfying a configuration property request in any form.
25 *
26 * @author Tom Gibara
27 *
28 */
29
30 public class ProntoConfigException extends ProntoException {
31
32 private static final long serialVersionUID = -458361366157689539L;
33
34 /**
35 * Construct a new ProntoConfigException.
36 */
37
38 public ProntoConfigException() {
39 }
40
41 /**
42 * Construct a new ProntoConfigException.
43 *
44 * @param message
45 * the message of the exception
46 * @param cause
47 * the throwable that caused the exception
48 */
49
50 public ProntoConfigException(final String message, final Throwable cause) {
51 super(message, cause);
52 }
53
54 /**
55 * Construct a new ProntoConfigException.
56 *
57 * @param message
58 * the message of the exception
59 */
60
61 public ProntoConfigException(final String message) {
62 super(message);
63 }
64
65 /**
66 * Construct a new ProntoConfigException.
67 *
68 * @param cause
69 * the throwable that caused the exception
70 */
71
72 public ProntoConfigException(final Throwable cause) {
73 super(cause);
74 }
75
76 }