1 package org.apache.turbine.util;
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.NestableRuntimeException;
23
24 /***
25 * This is a base class of runtime exeptions thrown by Turbine.
26 *
27 * This class represents a non-checked type exception (see
28 * {@link java.lang.RuntimeException}). It has the nested stack trace
29 * functionality found in the {@link TurbineException} class.
30 *
31 * @author <a href="mailto:Rafal.Krzewski@e-point.pl">Rafal Krzewski</a>
32 * @author <a href="mailto:dlr@finemaltcoding.com">Daniel Rall</a>
33 * @author <a href="mailto:quintonm@bellsouth.net">Quinton McCombs</a>
34 * @version $Id: TurbineRuntimeException.java 534527 2007-05-02 16:10:59Z tv $
35 */
36 public class TurbineRuntimeException extends NestableRuntimeException
37 {
38 /*** Serial Version UID */
39 private static final long serialVersionUID = 4748124104580250109L;
40
41 /***
42 * Constructs a new <code>TurbineRuntimeException</code> without specified
43 * detail message.
44 */
45 public TurbineRuntimeException()
46 {
47 }
48
49 /***
50 * Constructs a new <code>TurbineRuntimeException</code> with specified
51 * detail message.
52 *
53 * @param msg the error message.
54 */
55 public TurbineRuntimeException(String msg)
56 {
57 super(msg);
58 }
59
60 /***
61 * Constructs a new <code>TurbineRuntimeException</code> with specified
62 * nested <code>Throwable</code>.
63 *
64 * @param nested the exception or error that caused this exception
65 * to be thrown.
66 */
67 public TurbineRuntimeException(Throwable nested)
68 {
69 super(nested);
70 }
71
72 /***
73 * Constructs a new <code>TurbineRuntimeException</code> with specified
74 * detail message and nested <code>Throwable</code>.
75 *
76 * @param msg the error message.
77 * @param nested the exception or error that caused this exception
78 * to be thrown.
79 */
80 public TurbineRuntimeException(String msg, Throwable nested)
81 {
82 super(msg, nested);
83 }
84
85 }