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;
21
22 /***
23 * Used to signal an exception related to the Directory Manager's configuration.
24 * <br>
25 * <br>
26 * Note that this exception is thrown whenever an unrecoverable internal error
27 * is encountered, as this will invariably be related to faulty configuration of
28 * the Directory Manager. Recoverable internal errors will generally
29 * <em>not</em> result in a
30 * <code>DirectoryManagerConfigurationException</code>, but in a log message
31 * as the Directory Manager attempts to continue with its existing, presumably
32 * working, configuration settings.
33 */
34 public class DirectoryManagerConfigurationException
35 extends RuntimeException {
36
37 /***
38 * Serial version UID.
39 */
40 private static final long serialVersionUID = 2741780154996396695L;
41
42
43 /***
44 * Constructor. Creates a new exception with only an exception message.
45 * @param message
46 * The exception message.
47 * @see Exception#Exception(java.lang.String)
48 */
49 public DirectoryManagerConfigurationException(final String message) {
50
51 super(message);
52
53 }
54
55
56 /***
57 * Constructor. Creates a new exception with both an exception message and a
58 * cause.
59 * @param message
60 * The exception message.
61 * @param cause
62 * The exception cause.
63 * @see Exception#Exception(java.lang.String, java.lang.Throwable)
64 */
65 public DirectoryManagerConfigurationException(final String message,
66 final Throwable cause) {
67
68 super(message, cause);
69
70 }
71
72 }