1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 package no.feide.moria.directory.backend;
21
22 /***
23 * Represents an exception originating form the directory manager's backend.
24 */
25 public class BackendException
26 extends Exception {
27
28 /***
29 * Serial version UID.
30 */
31 private static final long serialVersionUID = -671305694308654063L;
32
33
34 /***
35 * Basic constructor.
36 * @param message
37 * The exception message.
38 */
39 public BackendException(final String message) {
40
41 super(message);
42
43 }
44
45
46 /***
47 * Constructor.
48 * @param message
49 * The exception message.
50 * @param cause
51 * The exception cause.
52 */
53 public BackendException(final String message, final Throwable cause) {
54
55 super(message, cause);
56
57 }
58
59 }