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): Gilles Rayrat.
19: * Contributor(s): ______________________.
20: */package org.continuent.sequoia.common.exceptions.driver;
21:
22: /**
23: * A <code>VirtualDatabaseUnavailableException</code> is thrown to a client
24: * when a requested virtual database does not exist, is shutting down, starting
25: * or shut down on all controllers the client is trying to connect to.<br>
26: * Internally (inside the driver), the
27: * <code>VirtualDatabaseUnavailableException</code> is thrown when <b>one</b>
28: * controller's virtual database is not available.
29: *
30: * @author <a href="mailto:gilles.rayrat@continuent.com">Gilles Rayrat </a>
31: * @version 1.0
32: */
33: public class VirtualDatabaseUnavailableException extends
34: DriverSQLException {
35: private static final long serialVersionUID = 1L;
36:
37: /**
38: * Creates a new <code>VirtualDatabaseUnavailableException</code> object
39: */
40: public VirtualDatabaseUnavailableException() {
41: super ();
42: }
43:
44: /**
45: * Creates a new <code>VirtualDatabaseUnavailableException</code> object
46: *
47: * @param reason the error message
48: */
49: public VirtualDatabaseUnavailableException(String reason) {
50: super(reason);
51: }
52: }
|