1
2
3
4
5
6
7
8
9
10
11
12
13
14 package net.sf.jgabl2.adapt;
15
16
17 /**
18 * Is thrown if a requested adapter is not availabe.
19 *
20 * @author Alexander Schwartz
21 * @version $Revision: 225 $
22 * @since 0.5.0
23 */
24 public final class UnavailableAdapterException
25 extends Exception {
26 /**
27 * a generated serialVersionUID.
28 */
29 private static final long serialVersionUID = -3137884121855848647L;
30
31 /** Constructs an exception without a specified message. */
32 public UnavailableAdapterException() {
33 super();
34 }
35
36 /**
37 * Constructs an exception with a specified message and cause.
38 *
39 * @param msg the message string
40 * @param cause the causing exception
41 */
42 public UnavailableAdapterException(
43 final String msg,
44 final Throwable cause) {
45 super(msg, cause);
46 }
47
48 /**
49 * Constructs an exception with a specified message.
50 * @param msg the message string
51 */
52 public UnavailableAdapterException(final String msg) {
53 super(msg);
54 }
55
56 }