X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=Tools%2FSource%2FGenBuild%2Forg%2Ftianocore%2Fbuild%2Fautogen%2FAutoGen.java;h=d8249dd86cd9f244357eb4077ffca39fc472b84d;hp=a8ec270355146dd8693d376a193171900050f649;hb=8b7bd4559c54dbfc4ee9b083e047cd3b63fe71aa;hpb=8f7f05d5271f155668d67dc127bf2cc82a977dd3 diff --git a/Tools/Source/GenBuild/org/tianocore/build/autogen/AutoGen.java b/Tools/Source/GenBuild/org/tianocore/build/autogen/AutoGen.java index a8ec270355..d8249dd86c 100644 --- a/Tools/Source/GenBuild/org/tianocore/build/autogen/AutoGen.java +++ b/Tools/Source/GenBuild/org/tianocore/build/autogen/AutoGen.java @@ -462,7 +462,7 @@ public class AutoGen { try { this.myPcdAutogen.execute(); } catch (Exception exp) { - throw new BuildException (exp.getMessage()); + throw new PcdAutogenException (exp.getMessage()); } if (this.myPcdAutogen != null) { @@ -594,7 +594,7 @@ public class AutoGen { * @throws BuildException * Failed to generate AutoGen.c. */ - void libGenAutogenC() throws BuildException { + void libGenAutogenC() throws BuildException, PcdAutogenException { StringBuffer fileBuffer = new StringBuffer(10240); // @@ -615,7 +615,7 @@ public class AutoGen { try { this.myPcdAutogen.execute(); } catch (Exception e) { - throw new BuildException(e.getMessage()); + throw new PcdAutogenException(e.getMessage()); } if (this.myPcdAutogen != null) {