Upgrade to drools 7.28.0.Final
[policy/engine.git] / ONAP-REST / src / main / java / org / onap / policy / rest / dao / PolicyDbException.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP-REST
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * Modifications Copyright (C) 2019 Nordix Foundation.
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 package org.onap.policy.rest.dao;
23
24 /**
25  * PolicyDBException extends <code>Exception</code> to implement exceptions thrown by Policy Database transactions.
26  *
27  * @version 0.1
28  */
29 public class PolicyDbException extends Exception {
30     private static final long serialVersionUID = -6162444281003852781L;
31
32     public PolicyDbException() {
33         // Empty constructor
34     }
35
36     public PolicyDbException(String message) {
37         super(message);
38     }
39
40     public PolicyDbException(Throwable cause) {
41         super(cause);
42     }
43
44     public PolicyDbException(String message, Throwable cause) {
45         super(message, cause);
46     }
47
48     public PolicyDbException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
49         super(message, cause, enableSuppression, writableStackTrace);
50     }
51 }