KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > continuent > sequoia > controller > loadbalancer > policies > createtable > CreateTableException


1 /**
2  * Sequoia: Database clustering technology.
3  * Copyright (C) 2002-2004 French National Institute For Research In Computer
4  * Science And Control (INRIA).
5  * Copyright (C) 2005 AmicoSoft, Inc. dba Emic Networks
6  * Contact: sequoia@continuent.org
7  *
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  *
20  * Initial developer(s): Emmanuel Cecchet.
21  * Contributor(s): _______________________
22  */

23
24 package org.continuent.sequoia.controller.loadbalancer.policies.createtable;
25
26 import org.continuent.sequoia.common.exceptions.SequoiaException;
27
28 /**
29  * A <code>CreateTableException</code> is thrown when a
30  * <code>CreateTableRule</code> policy cannot be applied in the
31  * rule.getBackends() method.
32  *
33  * @see org.continuent.sequoia.controller.loadbalancer.policies.createtable.CreateTableRule#getBackends(java.util.ArrayList)
34  * @author <a HREF="mailto:Emmanuel.Cecchet@inria.fr">Emmanuel Cecchet </a>
35  * @version 1.0
36  */

37 public class CreateTableException extends SequoiaException
38 {
39   private static final long serialVersionUID = -1818582588221008537L;
40
41   /**
42    * Creates a new <code>CreateTableException</code>.
43    */

44   public CreateTableException()
45   {
46     super();
47   }
48
49   /**
50    * Creates a new <code>CreateTableException</code>.
51    *
52    * @param message the error message
53    */

54   public CreateTableException(String JavaDoc message)
55   {
56     super(message);
57   }
58
59   /**
60    * Creates a new <code>CreateTableException</code>.
61    *
62    * @param cause the root cause
63    */

64   public CreateTableException(Throwable JavaDoc cause)
65   {
66     super(cause);
67   }
68
69   /**
70    * Creates a new <code>CreateTableException</code>.
71    *
72    * @param message the error message
73    * @param cause the root cause
74    */

75   public CreateTableException(String JavaDoc message, Throwable JavaDoc cause)
76   {
77     super(message, cause);
78   }
79 }
Popular Tags