summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/error/ValidationException.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/error/ValidationException.java b/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/error/ValidationException.java
index a435bdf8..9eeca6ab 100644
--- a/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/error/ValidationException.java
+++ b/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/error/ValidationException.java
@@ -38,14 +38,16 @@
package org.onap.portalsdk.analytics.error;
public class ValidationException extends RaptorRuntimeException {
- private String fieldID = null;
+ private final String fieldID;
public ValidationException(String message) {
super(message);
+ fieldID = null;
}
public ValidationException(String message, Throwable ex) {
super(message, ex);
+ fieldID = null;
}
public ValidationException(String fieldID, String message) {