diff --git a/pmd/src/net/sourceforge/pmd/cpd/ReportException.java b/pmd/src/net/sourceforge/pmd/cpd/ReportException.java index fc02765758..20ed58dd5e 100644 --- a/pmd/src/net/sourceforge/pmd/cpd/ReportException.java +++ b/pmd/src/net/sourceforge/pmd/cpd/ReportException.java @@ -3,9 +3,12 @@ package net.sourceforge.pmd.cpd; /** * @author Philippe T'Seyen */ -public class ReportException extends Exception -{ +public class ReportException extends Exception { + + private Throwable cause; + public ReportException(Throwable cause) { - super(cause); + super(); + this.cause = cause; } }