summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/onap/cps/ncmp/dmi/exception/CloudEventConstructionException.java
diff options
context:
space:
mode:
authorseanbeirne <sean.beirne@est.tech>2024-03-12 12:07:54 +0000
committerseanbeirne <sean.beirne@est.tech>2024-04-11 15:21:42 +0100
commitc92b949fa1125ce840876da961ed0a95bc40d1ec (patch)
treee447b5a5c42538bf84dee629b61beba3f584e85c /src/main/java/org/onap/cps/ncmp/dmi/exception/CloudEventConstructionException.java
parent351f39126899711dd0ec4fcee35b1f5fbd295bbb (diff)
Read and send Response (DMI <> NCMP) for CmSubscription
-Update subscription code to new models Issue-ID: CPS-1971 Change-Id: I382ca31407f8088ddea889a7ab904a22c09789ff Signed-off-by: seanbeirne <sean.beirne@est.tech>
Diffstat (limited to 'src/main/java/org/onap/cps/ncmp/dmi/exception/CloudEventConstructionException.java')
-rw-r--r--src/main/java/org/onap/cps/ncmp/dmi/exception/CloudEventConstructionException.java37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/main/java/org/onap/cps/ncmp/dmi/exception/CloudEventConstructionException.java b/src/main/java/org/onap/cps/ncmp/dmi/exception/CloudEventConstructionException.java
new file mode 100644
index 00000000..f61c156a
--- /dev/null
+++ b/src/main/java/org/onap/cps/ncmp/dmi/exception/CloudEventConstructionException.java
@@ -0,0 +1,37 @@
+/*
+ * ============LICENSE_START=======================================================
+ * Copyright (C) 2024 Nordix Foundation
+ * ================================================================================
+ * 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.
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.cps.ncmp.dmi.exception;
+
+public class CloudEventConstructionException extends DmiException {
+
+ private static final long serialVersionUID = 7747941311132087621L;
+
+ /**
+ * CloudEventConstructionException.
+ *
+ * @param message the error message
+ * @param details the error details
+ * @param cause the error cause
+ */
+ public CloudEventConstructionException(final String message, final String details, final Throwable cause) {
+ super(message, details, cause);
+ }
+}