diff --git a/Tools/Source/GenBuild/org/tianocore/build/exception/AutoGenException.java b/Tools/Source/GenBuild/org/tianocore/build/exception/AutoGenException.java index fb6a9c2fe1..5db092be48 100644 --- a/Tools/Source/GenBuild/org/tianocore/build/exception/AutoGenException.java +++ b/Tools/Source/GenBuild/org/tianocore/build/exception/AutoGenException.java @@ -27,12 +27,13 @@ public class AutoGenException extends GenBuildException { @param expStr exception message string. **/ public AutoGenException(String expStr) { - super("[AutoGenException]:" + expStr); + super(expStr); } public AutoGenException() { - super(); + } + public AutoGenException(Exception e, String messsge){ super(e, messsge); }