01: /**
02: * Sequoia: Database clustering technology.
03: * Copyright (C) 2006 Continuent, Inc.
04: * Contact: sequoia@continuent.org
05: *
06: * Licensed under the Apache License, Version 2.0 (the "License");
07: * you may not use this file except in compliance with the License.
08: * You may obtain a copy of the License at
09: *
10: * http://www.apache.org/licenses/LICENSE-2.0
11: *
12: * Unless required by applicable law or agreed to in writing, software
13: * distributed under the License is distributed on an "AS IS" BASIS,
14: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15: * See the License for the specific language governing permissions and
16: * limitations under the License.
17: *
18: * Initial developer(s): Stephane Giron.
19: * Contributor(s): ______________________.
20: */package org.continuent.sequoia.common.exceptions;
21:
22: /**
23: * This class defines a NoResultAvailableException thrown when a request
24: * succeeded on one or several remote controllers, but all of these controllers
25: * failed during result retrieval
26: *
27: * @author <a href="mailto:stephane.giron@continuent.com">Stephane Giron</a>
28: * @version 1.0
29: */
30: public class NoResultAvailableException extends Exception {
31:
32: private static final long serialVersionUID = -5209237539990966516L;
33:
34: /**
35: * Creates a new <code>NoResultAvailableException</code> instance.
36: */
37: public NoResultAvailableException() {
38: super ();
39: }
40:
41: /**
42: * Creates a new <code>NoResultAvailableException</code> instance.
43: *
44: * @param message the error message
45: */
46: public NoResultAvailableException(String message) {
47: super (message);
48: }
49:
50: /**
51: * Creates a new <code>NoResultAvailableException</code> instance.
52: *
53: * @param cause the root cause
54: */
55: public NoResultAvailableException(Throwable cause) {
56: super (cause);
57: }
58:
59: /**
60: * Creates a new <code>NoResultAvailableException</code> instance.
61: *
62: * @param message the error message
63: * @param cause the root cause
64: */
65: public NoResultAvailableException(String message, Throwable cause) {
66: super(message, cause);
67: }
68:
69: }
|