1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package com.tomgibara.pronto.control;
19
20 import com.tomgibara.pronto.core.ProntoException;
21
22 /**
23 * Instances of this class are thrown from methods to indicate that a controller
24 * has malfunctioned.
25 *
26 * @author Tom Gibara
27 *
28 */
29
30
31 public class ProntoControlException extends ProntoException {
32
33 private static final long serialVersionUID = 2196093772121528768L;
34
35 /**
36 * Constructs a new ProntoControlException.
37 */
38
39 public ProntoControlException() {
40 }
41
42 /**
43 * Constructs a new ProntoControlException.
44 *
45 * @param message
46 * the message of the exception
47 * @param cause
48 * the throwable which caused this exception
49 */
50
51 public ProntoControlException(final String message, final Throwable cause) {
52 super(message, cause);
53 }
54
55 /**
56 * Constructs a new ProntoControlException.
57 *
58 * @param message
59 * the message of the exception
60 */
61
62 public ProntoControlException(final String message) {
63 super(message);
64 }
65
66 /**
67 * Constructs a new ProntoControlException.
68 *
69 * @param cause
70 * the throwable which caused this exception
71 */
72
73 public ProntoControlException(final Throwable cause) {
74 super(cause);
75 }
76
77 }