01: /**
02: * Copyright 2003-2007 Luck Consulting Pty Ltd
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
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: */package net.sf.ehcache.distribution;
16:
17: import net.sf.ehcache.CacheException;
18:
19: /**
20: * A Cache Exception in the distribution mechanism.
21: * <p/>
22: * A RemoteCacheException may not always matter to an application, which may want to ignore it.
23: *
24: * @author Greg Luck
25: * @version $Id: RemoteCacheException.java 519 2007-07-27 07:11:45Z gregluck $
26: */
27: public final class RemoteCacheException extends CacheException {
28:
29: /**
30: * Constructor for the RemoteCacheException object.
31: */
32: public RemoteCacheException() {
33: super ();
34: }
35:
36: /**
37: * Constructor for the RemoteCacheException object.
38: *
39: * @param message the reason the exception was thrown
40: */
41: public RemoteCacheException(String message) {
42: super (message);
43: }
44:
45: /**
46: * Constructor for the RemoteCacheException object.
47: *
48: * @param message the exception detail message
49: * @param cause the cause of the exception
50: */
51: public RemoteCacheException(String message, Throwable cause) {
52: super(message, cause);
53: }
54:
55: }
|