1 /***
2 * Copyright 2003-2010 Terracotta, Inc.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17 package net.sf.ehcache.constructs.nonstop;
18
19 import net.sf.ehcache.CacheException;
20
21 /***
22 * Exception type thrown for NonStopCache operations
23 *
24 * @author Abhishek Sanoujam
25 *
26 */
27 public class NonStopCacheException extends CacheException {
28
29 /***
30 * Default constructor
31 */
32 public NonStopCacheException() {
33 super();
34 }
35
36 /***
37 * Constructor accepting a String message and a Throwable cause
38 *
39 * @param message
40 * @param cause
41 */
42 public NonStopCacheException(final String message, final Throwable cause) {
43 super(message, cause);
44 }
45
46 /***
47 * Constructor accepting a String message
48 *
49 * @param message
50 */
51 public NonStopCacheException(final String message) {
52 super(message);
53 }
54
55 /***
56 * Constructor accepting a Throwable cause
57 *
58 * @param cause
59 */
60 public NonStopCacheException(final Throwable cause) {
61 super(cause);
62 }
63
64 }