aboutsummaryrefslogtreecommitdiffstats
path: root/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/exception/DataBaseException.java
diff options
context:
space:
mode:
authorzhangfan345 <zhangfan345@huawei.com>2022-08-02 17:12:30 +0800
committerzhangfan345 <zhangfan345@huawei.com>2022-08-02 17:12:30 +0800
commit40d95f90d0740982a8a22e2ae318b4a8236ea3ba (patch)
tree6d1c012d75c6a6e23e2af58947c075684d08ab1a /intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/exception/DataBaseException.java
parent8e46fa6f880da9ec899d9855130836e6d51804e2 (diff)
Add exception for intent analysis
Issue-ID: USECASEUI-707 Signed-off-by: zhangfan345 <zhangfan345@huawei.com> Change-Id: I44cf51cdfe3b83cf4a2166d4a83992e3ae06e792
Diffstat (limited to 'intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/exception/DataBaseException.java')
-rw-r--r--intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/exception/DataBaseException.java23
1 files changed, 23 insertions, 0 deletions
diff --git a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/exception/DataBaseException.java b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/exception/DataBaseException.java
new file mode 100644
index 0000000..b7121d1
--- /dev/null
+++ b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/exception/DataBaseException.java
@@ -0,0 +1,23 @@
+/*
+ * Copyright 2022 Huawei Technologies Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.onap.usecaseui.intentanalysis.exception;
+
+public class DataBaseException extends CommonException {
+
+ public DataBaseException(String message, int ret) {
+ super(message, ret);
+ }
+}