1
2
3
4
5
6
7
8
9
10 package com.sri.emo.wizard;
11
12 /***
13 * Exception for wizard-based exceptions.
14 *
15 * @author Michael Rimov
16 */
17 public class WizardException extends RuntimeException {
18 /***
19 *
20 */
21 private static final long serialVersionUID = 1L;
22
23 /***
24 * Default constructor.
25 */
26 public WizardException() {
27 }
28
29 /***
30 * Constructs an exception with a message.
31 *
32 * @param message java.lang.String
33 */
34 public WizardException(final String message) {
35 super(message);
36 }
37
38 /***
39 * Constructs an exception with a message and a nested exception.
40 *
41 * @param message the message
42 * @param cause the nested exception
43 */
44 public WizardException(final String message, final Throwable cause) {
45 super(message, cause);
46 }
47
48 /***
49 * Constructs an exception wrapping another exception.
50 *
51 * @param cause the cause Exception we're wrapping.
52 */
53 public WizardException(final Throwable cause) {
54 super(cause);
55 }
56 }