aboutsummaryrefslogtreecommitdiffstats
path: root/datafile-commons/src
diff options
context:
space:
mode:
authorTony Hansen <tony@att.com>2019-02-27 13:57:18 +0000
committerGerrit Code Review <gerrit@onap.org>2019-02-27 13:57:18 +0000
commit48e869817e62cd0ae85ef2de3650ca8130210b96 (patch)
tree4023db7ff1e41ffd1ac4c79a6a9d485ce28dda6e /datafile-commons/src
parent958f0b0896f0ee9e5876ef885bf2125dd4c2ad53 (diff)
parentf88fc3ab6f40b5e9ad102aa3142606ff14347b5e (diff)
Merge "Fixed some sonar issues"
Diffstat (limited to 'datafile-commons/src')
-rw-r--r--datafile-commons/src/main/java/org/onap/dcaegen2/collectors/datafile/exceptions/DatafileTaskException.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/datafile-commons/src/main/java/org/onap/dcaegen2/collectors/datafile/exceptions/DatafileTaskException.java b/datafile-commons/src/main/java/org/onap/dcaegen2/collectors/datafile/exceptions/DatafileTaskException.java
index ae1435ca..442b766b 100644
--- a/datafile-commons/src/main/java/org/onap/dcaegen2/collectors/datafile/exceptions/DatafileTaskException.java
+++ b/datafile-commons/src/main/java/org/onap/dcaegen2/collectors/datafile/exceptions/DatafileTaskException.java
@@ -32,4 +32,8 @@ public class DatafileTaskException extends Exception {
public DatafileTaskException(String message) {
super(message);
}
+
+ public DatafileTaskException(String message, Exception e) {
+ super(message + e);
+ }
}