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