Updating licenses in all files
[appc.git] / appc-common / src / main / java / org / openecomp / appc / pool / PoolException.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * APPC
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * Copyright (C) 2017 Amdocs
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  * ============LICENSE_END=========================================================
20  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
21  */
22
23
24
25 package org.openecomp.appc.pool;
26
27 /**
28  * A pool exception is a specialization of checked exceptions that define various pool abnormal states or requests.
29  *
30  */
31 public class PoolException extends Exception {
32     /**
33      *
34      */
35     private static final long serialVersionUID = 1L;
36
37     /**
38      * PoolException constructor
39      */
40     public PoolException() {
41     }
42
43     /**
44      * PoolException constructor
45      *
46      * @param message
47      *            The error message
48      */
49     public PoolException(String message) {
50         super(message);
51     }
52
53     /**
54      * PoolException constructor
55      *
56      * @param cause
57      *            The cause of the exception
58      */
59     public PoolException(Throwable cause) {
60         super(cause);
61     }
62
63     /**
64      * PoolException constructor
65      *
66      * @param message
67      *            The error message
68      * @param cause
69      *            The cause of the exception
70      */
71     public PoolException(String message, Throwable cause) {
72         super(message, cause);
73     }
74
75     /**
76      * PoolException constructor
77      *
78      * @param message
79      *            The error message
80      * @param cause
81      *            The cause of the exception
82      * @param enableSuppression
83      *            whether or not suppression is enabled or disabled
84      * @param writableStackTrace
85      *            whether or not the stack trace should be writable
86      */
87     public PoolException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
88         super(message, cause, enableSuppression, writableStackTrace);
89     }
90 }