1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 package org.talika.tarsis.command.action;
24
25 /**
26 * Defines an exception that a action throws to indicate that it is permanently
27 * unavailable.
28 *
29 * @author Jose M. Palomar
30 * @version $Revision: 113 $
31 */
32 public class UnrecoverableException extends ActionException {
33
34
35 /**
36 * Constructs a new <code>UnrecoverableException</code> with given message and
37 * cause.
38 *
39 * @param msg String text of the exception message.
40 */
41 public UnrecoverableException(String msg) {
42 super(msg);
43 }
44
45 /**
46 * Constructs a new <code>UnrecoverableException</code> with given message and
47 * cause.
48 *
49 * @param msg String text of the exception message.
50 * @param rootCause Throwable the <code>Throwable</code> exception that caused
51 * this exception.
52 */
53 public UnrecoverableException(String msg, Throwable rootCause) {
54 super(msg, rootCause);
55 }
56
57 }