1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package no.feide.moria.store;
22
23 /***
24 * Used to signal an exception regarding eviction policy configuration.
25 *
26 * @author Bjørn Ola Smievoll <b.o.smievoll@conduct.no>
27 * @version $Revision: 1.4 $
28 */
29 public class EvictionConfigurationException extends RuntimeException {
30
31 /***
32 * Constructor. Creates a new exception with only an exception message.
33 * @param message
34 * The exception message.
35 */
36 public EvictionConfigurationException(final String message) {
37 super(message);
38 }
39
40 /***
41 * Constructor. Creates a new exception with only a cause.
42 * @param cause
43 * The exception cause.
44 */
45 public EvictionConfigurationException(final Throwable cause) {
46 super(cause);
47 }
48
49 /***
50 * Constructor. Creates a new exception with both an exception message and a
51 * cause.
52 * @param message
53 * The exception message.
54 * @param cause
55 * The exception cause.
56 */
57 public EvictionConfigurationException(final String message, final Throwable cause) {
58 super(message, cause);
59 }
60 }