1 package org.apache.torque.engine;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 import org.apache.commons.lang.exception.NestableException;
23
24 /***
25 * The base class of all exceptions thrown by the engine.
26 *
27 * @author <a href="mailto:dlr@collab.net">Daniel Rall</a>
28 * @author <a href="mailto:jvz@apache.org">Jason van Zyl</a>
29 * @version $Id: EngineException.java 473814 2006-11-11 22:30:30Z tv $
30 */
31 public class EngineException extends NestableException
32 {
33 /***
34 * Serial version
35 */
36 private static final long serialVersionUID = 3021095306218344981L;
37
38 /***
39 * Constructs a new <code>EngineException</code> without specified detail
40 * message.
41 */
42 public EngineException()
43 {
44 }
45
46 /***
47 * Constructs a new <code>EngineException</code> with specified detail
48 * message.
49 *
50 * @param msg the error message.
51 */
52 public EngineException(String msg)
53 {
54 super(msg);
55 }
56
57 /***
58 * Constructs a new <code>EngineException</code> with specified nested
59 * <code>Throwable</code>.
60 *
61 * @param nested the exception or error that caused this exception
62 * to be thrown.
63 */
64 public EngineException(Throwable nested)
65 {
66 super(nested);
67 }
68
69 /***
70 * Constructs a new <code>EngineException</code> with specified detail
71 * message and nested <code>Throwable</code>.
72 *
73 * @param msg the error message.
74 * @param nested the exception or error that caused this exception
75 * to be thrown.
76 */
77 public EngineException(String msg, Throwable nested)
78 {
79 super(msg, nested);
80 }
81 }