KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > openbravo > exception > NoConnectionAvailableException


1 /*
2  ************************************************************************************
3  * Copyright (C) 2001-2006 Openbravo S.L.
4  * Licensed under the Apache Software License version 2.0
5  * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
6  * Unless required by applicable law or agreed to in writing, software distributed
7  * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
8  * CONDITIONS OF ANY KIND, either express or implied. See the License for the
9  * specific language governing permissions and limitations under the License.
10  ************************************************************************************
11 */

12 package org.openbravo.exception;
13
14 /**
15  * Thrown to indicate that database connection does not exist.
16  *
17 */

18 public class NoConnectionAvailableException extends Exception JavaDoc {
19
20   /**
21    * Constructs a new NoConnectionAvailableException with no detail message.
22    */

23   public NoConnectionAvailableException() {
24     super();
25   }
26
27   /**
28    * Constructs a new NoConnectionAvailableException with the specified
29    * detail message.
30    *
31    * @param s the detail message
32    */

33   public NoConnectionAvailableException(String JavaDoc s) {
34     super(s);
35   }
36 }
37
Popular Tags