cc6b759fdcd61eda547d9a6ce830cecb7220d3c8
[appc.git] / appc-common / src / main / java / org / openecomp / appc / pool / PoolException.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP : APPC
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Copyright (C) 2017 Amdocs
8  * =============================================================================
9  * Licensed under the Apache License, Version 2.0 (the "License");
10  * you may not use this file except in compliance with the License.
11  * You may obtain a copy of the License at
12  * 
13  *      http://www.apache.org/licenses/LICENSE-2.0
14  * 
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  * 
21  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
22  * ============LICENSE_END=========================================================
23  */
24
25
26
27 package org.openecomp.appc.pool;
28
29 /**
30  * A pool exception is a specialization of checked exceptions that define various pool abnormal states or requests.
31  *
32  */
33 public class PoolException extends Exception {
34     /**
35      *
36      */
37     private static final long serialVersionUID = 1L;
38
39     /**
40      * PoolException constructor
41      */
42     public PoolException() {
43     }
44
45     /**
46      * PoolException constructor
47      *
48      * @param message
49      *            The error message
50      */
51     public PoolException(String message) {
52         super(message);
53     }
54
55     /**
56      * PoolException constructor
57      *
58      * @param cause
59      *            The cause of the exception
60      */
61     public PoolException(Throwable cause) {
62         super(cause);
63     }
64
65     /**
66      * PoolException constructor
67      *
68      * @param message
69      *            The error message
70      * @param cause
71      *            The cause of the exception
72      */
73     public PoolException(String message, Throwable cause) {
74         super(message, cause);
75     }
76
77     /**
78      * PoolException constructor
79      *
80      * @param message
81      *            The error message
82      * @param cause
83      *            The cause of the exception
84      * @param enableSuppression
85      *            whether or not suppression is enabled or disabled
86      * @param writableStackTrace
87      *            whether or not the stack trace should be writable
88      */
89     public PoolException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
90         super(message, cause, enableSuppression, writableStackTrace);
91     }
92 }