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 import org.talika.tarsis.error.UserException;
26
27 /**
28 * Defines a general exception to be thrown when an action encounters difficulty.
29 *
30 * @author Jose M. Palomar
31 * @version $Revision: 113 $
32 */
33 public class ActionException extends UserException {
34
35
36 /**
37 * Constructs a new <code>ActionException</code> with given message.
38 *
39 * @param msg String text of the exception message.
40 */
41 public ActionException(String msg) {
42 super(msg);
43 }
44
45 /**
46 * Constructs a new <code>ActionException</code> with given message and cause.
47 *
48 * @param msg String text of the exception message.
49 * @param rootCause Throwable the <code>Throwable</code> exception that caused
50 * this action exception.
51 */
52 public ActionException(String msg, Throwable rootCause) {
53 super(msg, rootCause);
54 }
55
56 }