KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > whirlycott > cache > CacheException


1 /*
2 Copyright 2004 Philip Jacob <phil@whirlycott.com>
3                     Seth Fitzsimmons <seth@note.amherst.edu>
4
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9     http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16 */

17
18 package com.whirlycott.cache;
19
20 /**
21  * Gets thrown when problems occur with the Whirlycache. It currently doesn't
22  * describe any specific problem, but rather acts to encapsulate the varying
23  * types of Exceptions that the different ManagedCache implementations might
24  * throw.
25  *
26  * @author Phil Jacob
27  */

28 public class CacheException extends Exception JavaDoc {
29
30     /**
31      *
32      */

33     private static final long serialVersionUID = -4798498446556221410L;
34
35     public CacheException() {
36         super();
37     }
38
39     /**
40      * @param message
41      */

42     public CacheException(final String JavaDoc message) {
43         super(message);
44     }
45
46     /**
47      * @param cause
48      */

49     public CacheException(final Throwable JavaDoc cause) {
50         super(cause);
51     }
52
53     /**
54      * @param message
55      * @param cause
56      */

57     public CacheException(final String JavaDoc message, final Throwable JavaDoc cause) {
58         super(message, cause);
59     }
60
61 }
62
Popular Tags