summaryrefslogtreecommitdiffstats
path: root/models-errors/src
diff options
context:
space:
mode:
Diffstat (limited to 'models-errors/src')
-rw-r--r--models-errors/src/main/java/org/onap/policy/models/errors/concepts/ErrorResponseUtils.java9
1 files changed, 3 insertions, 6 deletions
diff --git a/models-errors/src/main/java/org/onap/policy/models/errors/concepts/ErrorResponseUtils.java b/models-errors/src/main/java/org/onap/policy/models/errors/concepts/ErrorResponseUtils.java
index eb5212eb0..749651310 100644
--- a/models-errors/src/main/java/org/onap/policy/models/errors/concepts/ErrorResponseUtils.java
+++ b/models-errors/src/main/java/org/onap/policy/models/errors/concepts/ErrorResponseUtils.java
@@ -23,19 +23,16 @@ package org.onap.policy.models.errors.concepts;
import java.util.ArrayList;
import java.util.List;
+import lombok.AccessLevel;
+import lombok.NoArgsConstructor;
/**
* Utility class for managing {@link ErrorResponse objects}.
*
* @author Liam Fallon (liam.fallon@est.tech)
*/
+@NoArgsConstructor(access = AccessLevel.PRIVATE)
public final class ErrorResponseUtils {
- /**
- * Private constructor used to prevent sub class instantiation.
- */
- private ErrorResponseUtils() {
- // Default constructor
- }
/**
* Store the cascaded messages from an exception and all its nested exceptions in an ErrorResponse object.