1 package org.apache.jcs.access.exception;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 /***
23 * This is the most general exception the cache throws.
24 * <p>
25 * TODO make nested with no external dependencies.
26 */
27 public class CacheException
28 extends Exception
29 {
30 /*** Don't change. */
31 private static final long serialVersionUID = 8725795372935590265L;
32
33 /***
34 * Default
35 */
36 public CacheException()
37 {
38 super();
39 }
40
41 /***
42 * Constructor for the CacheException object
43 * <p>
44 * @param nested
45 */
46 public CacheException( Throwable nested )
47 {
48 super( nested.getMessage() );
49 }
50
51 /***
52 * Constructor for the CacheException object
53 * <p>
54 * @param message
55 */
56 public CacheException( String message )
57 {
58 super( message );
59 }
60
61 }