findbugs correction

This commit is contained in:
Jeremy Long
2016-07-24 08:06:54 -04:00
parent c6ea92cff9
commit 5f76843c4a

View File

@@ -86,6 +86,7 @@ public class ExceptionCollection extends Exception {
*/ */
public ExceptionCollection(Throwable exceptions, boolean fatal) { public ExceptionCollection(Throwable exceptions, boolean fatal) {
super(); super();
this.exceptions = new ArrayList<Throwable>();
this.exceptions.add(exceptions); this.exceptions.add(exceptions);
this.fatal = fatal; this.fatal = fatal;
} }
@@ -97,6 +98,7 @@ public class ExceptionCollection extends Exception {
*/ */
public ExceptionCollection(String msg, Throwable exception) { public ExceptionCollection(String msg, Throwable exception) {
super(msg); super(msg);
this.exceptions = new ArrayList<Throwable>();
this.exceptions.add(exception); this.exceptions.add(exception);
this.fatal = false; this.fatal = false;
} }