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