1 package pl.aislib.fm;
2
3 import pl.aislib.lang.EncapsulatedException;
4
5 /***
6 * Generic exception class throwed by {@link Application} initialization methods.
7 * This exception encapsulates real problem cause description.
8 *
9 * @author <a href="mailto:warlock@ais.pl">Michal Jastak</a>, AIS.PL
10 * @version $Revision: 1.2 $
11 * @since AISLIB 0.1
12 */
13 public class ApplicationConfigurationException extends EncapsulatedException {
14
15
16
17 /***
18 * Constructs a new exception.
19 */
20 public ApplicationConfigurationException () {
21 super ();
22 }
23
24 /***
25 * Constructs a new exception with the specified message.
26 *
27 * @param message Error message
28 */
29 public ApplicationConfigurationException (String message) {
30 super (message);
31 }
32
33 /***
34 * Wrap an existing exception.
35 *
36 * @param rootCause The exception to be wrapped
37 */
38 public ApplicationConfigurationException (Throwable rootCause) {
39 super (rootCause);
40 }
41
42 /***
43 * Constructs a new exception with specified message, wrapping an existing exception.
44 *
45 * @param message Error message
46 * @param rootCause The exception to be wrapped
47 */
48 public ApplicationConfigurationException (String message, Throwable rootCause) {
49 super (message, rootCause);
50 }
51
52 }