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