01: /**
02: * Sequoia: Database clustering technology.
03: * Copyright (C) 2002-2004 French National Institute For Research In Computer
04: * Science And Control (INRIA).
05: * Copyright (C) 2005 AmicoSoft, Inc. dba Emic Networks
06: * Contact: sequoia@continuent.org
07: *
08: * Licensed under the Apache License, Version 2.0 (the "License");
09: * 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: */package org.continuent.sequoia.controller.loadbalancer.policies.createtable;
23:
24: import org.continuent.sequoia.common.exceptions.SequoiaException;
25:
26: /**
27: * A <code>CreateTableException</code> is thrown when a
28: * <code>CreateTableRule</code> policy cannot be applied in the
29: * rule.getBackends() method.
30: *
31: * @see org.continuent.sequoia.controller.loadbalancer.policies.createtable.CreateTableRule#getBackends(java.util.ArrayList)
32: * @author <a href="mailto:Emmanuel.Cecchet@inria.fr">Emmanuel Cecchet </a>
33: * @version 1.0
34: */
35: public class CreateTableException extends SequoiaException {
36: private static final long serialVersionUID = -1818582588221008537L;
37:
38: /**
39: * Creates a new <code>CreateTableException</code>.
40: */
41: public CreateTableException() {
42: super ();
43: }
44:
45: /**
46: * Creates a new <code>CreateTableException</code>.
47: *
48: * @param message the error message
49: */
50: public CreateTableException(String message) {
51: super (message);
52: }
53:
54: /**
55: * Creates a new <code>CreateTableException</code>.
56: *
57: * @param cause the root cause
58: */
59: public CreateTableException(Throwable cause) {
60: super (cause);
61: }
62:
63: /**
64: * Creates a new <code>CreateTableException</code>.
65: *
66: * @param message the error message
67: * @param cause the root cause
68: */
69: public CreateTableException(String message, Throwable cause) {
70: super(message, cause);
71: }
72: }
|