summaryrefslogtreecommitdiffstats
path: root/datafile-commons/src
diff options
context:
space:
mode:
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);
+ }
}