summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorezhil <ezhrajam@in.ibm.com>2020-04-24 17:47:10 +0530
committerJames Forsyth <jf2512@att.com>2020-06-03 15:28:42 +0000
commit77f3d84c297b62c5c7dd5a66f2e8cd32233cedb7 (patch)
tree5e26c9788516f48368e6c22555f36ccbf4c2cfe3
parenta81695efd81cc14d53ad94c5539101c641feb539 (diff)
Removed critical code smell
Removed critical code smell in AAIUnmarshallingException Issue-ID: AAF-1120 Change-Id: I0949e9f2f466ac98db39cfa1adf50f86a531b3a5 Signed-off-by: ezhil <ezhrajam@in.ibm.com>
-rw-r--r--aai-core/src/main/java/org/onap/aai/introspection/exceptions/AAIUnmarshallingException.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/aai-core/src/main/java/org/onap/aai/introspection/exceptions/AAIUnmarshallingException.java b/aai-core/src/main/java/org/onap/aai/introspection/exceptions/AAIUnmarshallingException.java
index 5dfc5d3e..6ce42e4e 100644
--- a/aai-core/src/main/java/org/onap/aai/introspection/exceptions/AAIUnmarshallingException.java
+++ b/aai-core/src/main/java/org/onap/aai/introspection/exceptions/AAIUnmarshallingException.java
@@ -26,18 +26,19 @@ public class AAIUnmarshallingException extends AAIException {
private static final long serialVersionUID = -5615651557821878103L;
+ private static final String AAI_MSG="AAI_3000";
public AAIUnmarshallingException() {
}
public AAIUnmarshallingException(String message) {
- super("AAI_3000", message);
+ super(AAI_MSG, message);
}
public AAIUnmarshallingException(Throwable cause) {
- super("AAI_3000", cause);
+ super(AAI_MSG, cause);
}
public AAIUnmarshallingException(String message, Throwable cause) {
- super("AAI_3000", cause, message);
+ super(AAI_MSG, cause, message);
}
}