KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > continuent > sequoia > common > exceptions > NoResultAvailableException


1 /**
2  * Sequoia: Database clustering technology.
3  * Copyright (C) 2006 Continuent, Inc.
4  * Contact: sequoia@continuent.org
5  *
6  * Licensed under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
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  */

21
22 package org.continuent.sequoia.common.exceptions;
23
24 /**
25  * This class defines a NoResultAvailableException thrown when a request
26  * succeeded on one or several remote controllers, but all of these controllers
27  * failed during result retrieval
28  *
29  * @author <a HREF="mailto:stephane.giron@continuent.com">Stephane Giron</a>
30  * @version 1.0
31  */

32 public class NoResultAvailableException extends Exception JavaDoc
33 {
34
35   private static final long serialVersionUID = -5209237539990966516L;
36
37   /**
38    * Creates a new <code>NoResultAvailableException</code> instance.
39    */

40   public NoResultAvailableException()
41   {
42     super();
43   }
44
45   /**
46    * Creates a new <code>NoResultAvailableException</code> instance.
47    *
48    * @param message the error message
49    */

50   public NoResultAvailableException(String JavaDoc message)
51   {
52     super(message);
53   }
54
55   /**
56    * Creates a new <code>NoResultAvailableException</code> instance.
57    *
58    * @param cause the root cause
59    */

60   public NoResultAvailableException(Throwable JavaDoc cause)
61   {
62     super(cause);
63   }
64
65   /**
66    * Creates a new <code>NoResultAvailableException</code> instance.
67    *
68    * @param message the error message
69    * @param cause the root cause
70    */

71   public NoResultAvailableException(String JavaDoc message, Throwable JavaDoc cause)
72   {
73     super(message, cause);
74   }
75
76 }
77
Popular Tags