aboutsummaryrefslogtreecommitdiffstats
path: root/models-decisions
diff options
context:
space:
mode:
Diffstat (limited to 'models-decisions')
-rw-r--r--models-decisions/pom.xml4
-rw-r--r--models-decisions/src/main/java/org/onap/policy/models/decisions/concepts/DecisionException.java5
2 files changed, 6 insertions, 3 deletions
diff --git a/models-decisions/pom.xml b/models-decisions/pom.xml
index 7eec5fbfd..62a3f396b 100644
--- a/models-decisions/pom.xml
+++ b/models-decisions/pom.xml
@@ -20,12 +20,12 @@
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.onap.policy.models</groupId>
<artifactId>policy-models</artifactId>
- <version>3.0.0-SNAPSHOT</version>
+ <version>3.0.1-SNAPSHOT</version>
</parent>
<artifactId>policy-models-decisions</artifactId>
diff --git a/models-decisions/src/main/java/org/onap/policy/models/decisions/concepts/DecisionException.java b/models-decisions/src/main/java/org/onap/policy/models/decisions/concepts/DecisionException.java
index f5be10b13..f324fa583 100644
--- a/models-decisions/src/main/java/org/onap/policy/models/decisions/concepts/DecisionException.java
+++ b/models-decisions/src/main/java/org/onap/policy/models/decisions/concepts/DecisionException.java
@@ -3,6 +3,7 @@
* ONAP Policy Decision Models
* ================================================================================
* Copyright (C) 2019 AT&T Intellectual Property. All rights reserved.
+ * Modifications Copyright (C) 2023 Nordix Foundation.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -20,7 +21,8 @@
package org.onap.policy.models.decisions.concepts;
-import javax.ws.rs.core.Response;
+import jakarta.ws.rs.core.Response;
+import java.io.Serial;
import lombok.Getter;
import lombok.ToString;
import org.onap.policy.models.errors.concepts.ErrorResponse;
@@ -30,6 +32,7 @@ import org.onap.policy.models.errors.concepts.ErrorResponseUtils;
@Getter
@ToString
public class DecisionException extends RuntimeException implements ErrorResponseInfo {
+ @Serial
private static final long serialVersionUID = -1255351537691201052L;
private final ErrorResponse errorResponse = new ErrorResponse();