X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=Tools%2FSource%2FFrameworkTasks%2Forg%2Ftianocore%2Fframework%2Ftasks%2FTool.java;h=67e0a865a675abaebd1c8c751e52594124ee61c3;hp=c784a50107e6ee3088bc3b80eff3870edb423755;hb=3f7b510edbe3c10b533f36f490e591782d14e929;hpb=32a47954e2fd96e038379df2c47ef863cb7458cd diff --git a/Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/Tool.java b/Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/Tool.java index c784a50107..67e0a865a6 100644 --- a/Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/Tool.java +++ b/Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/Tool.java @@ -49,7 +49,7 @@ public class Tool implements EfiDefine, Section { try { executeTool (); } catch (Exception e) { - throw new BuildException("Call tools failed!\n"); + throw new BuildException("Call to executeTool failed!\n"); } /// @@ -58,7 +58,7 @@ public class Tool implements EfiDefine, Section { OutputFile = new File (this.outPutFileName); long fileLen = OutputFile.length(); if (!OutputFile.exists()) { - throw new BuildException("The file " + outPutFileName + " is not exist!\n"); + throw new BuildException("The file " + outPutFileName + " does not exist!\n"); } /// @@ -91,7 +91,7 @@ public class Tool implements EfiDefine, Section { } catch (Exception e) { System.out.print(e.getMessage()); - throw new BuildException("Call tool2buffer failed!\n"); + throw new BuildException("Tool call, toBuffer failed!\n"); } } @@ -137,7 +137,7 @@ public class Tool implements EfiDefine, Section { crcProcess.waitFor(); } catch (Exception e) { System.out.print (e.getMessage()); - throw new BuildException("Execute tools fails!\n"); + throw new BuildException("Execution of externalTool task failed!\n"); } }