1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package net.sf.ashkay;
17
18 /***
19 * CreationExceptions represent an error in the creation of an object in an
20 * ObjectFactory.
21 *
22 * @author <a href="mailto:bangroot@users.sf.net">Dave Brown</a>
23 */
24 public class CreationException extends Exception
25 {
26 /***
27 * Constructs a default CreationException without a message or source
28 */
29 public CreationException()
30 {
31 super();
32 }
33
34 /***
35 * Constructs a CreationException with a message but no source
36 * @param msg - the message
37 */
38 public CreationException(String msg)
39 {
40 super(msg);
41 }
42
43 /***
44 * Constructs a CreationException with a source but no message
45 * @param p_source - the source exception
46 */
47 public CreationException(Throwable p_source)
48 {
49 super(p_source);
50 }
51
52 /***
53 * Contructs a CreationException with a message and source
54 * @param msg - the message
55 * @param p_source - the source exception
56 */
57 public CreationException(String msg, Throwable p_source)
58 {
59 super(msg, p_source);
60 }
61
62 }