9352581e13431fda5843e55c3770c4d7645d3809
[sdnc/core.git] / dblib / common / src / main / java / org / apache / tomcat / jdbc / pool / PoolExhaustedException.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * openecomp
4  * ================================================================================
5  * Copyright (C) 2016 - 2017 AT&T
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 /*
22  * Licensed to the Apache Software Foundation (ASF) under one or more
23  * contributor license agreements.  See the NOTICE file distributed with
24  * this work for additional information regarding copyright ownership.
25  * The ASF licenses this file to You under the Apache License, Version 2.0
26  * (the "License"); you may not use this file except in compliance with
27  * the License.  You may obtain a copy of the License at
28  *
29  *      http://www.apache.org/licenses/LICENSE-2.0
30  *
31  * Unless required by applicable law or agreed to in writing, software
32  * distributed under the License is distributed on an "AS IS" BASIS,
33  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
34  * See the License for the specific language governing permissions and
35  * limitations under the License.
36  */
37 package org.apache.tomcat.jdbc.pool;
38
39 import java.sql.SQLException;
40
41 public class PoolExhaustedException extends SQLException {
42
43     private static final long serialVersionUID = 3501536931777262475L;
44
45     public PoolExhaustedException() {
46     }
47
48     public PoolExhaustedException(String reason) {
49         super(reason);
50     }
51
52     public PoolExhaustedException(Throwable cause) {
53         super(cause);
54     }
55
56     public PoolExhaustedException(String reason, String SQLState) {
57         super(reason, SQLState);
58     }
59
60     public PoolExhaustedException(String reason, Throwable cause) {
61         super(reason, cause);
62     }
63
64     public PoolExhaustedException(String reason, String SQLState, int vendorCode) {
65         super(reason, SQLState, vendorCode);
66     }
67
68     public PoolExhaustedException(String reason, String sqlState, Throwable cause) {
69         super(reason, sqlState, cause);
70     }
71
72     public PoolExhaustedException(String reason, String sqlState, int vendorCode, Throwable cause) {
73         super(reason, sqlState, vendorCode, cause);
74     }
75
76 }