]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/Tool.java
Fixed grammar in messages.
[mirror_edk2.git] / Tools / Source / FrameworkTasks / org / tianocore / framework / tasks / Tool.java
index c784a50107e6ee3088bc3b80eff3870edb423755..67e0a865a675abaebd1c8c751e52594124ee61c3 100644 (file)
@@ -49,7 +49,7 @@ public class Tool implements EfiDefine, Section {
         try {\r
             executeTool ();\r
         } catch (Exception e) {\r
-            throw new BuildException("Call tools failed!\n");\r
+            throw new BuildException("Call to executeTool failed!\n");\r
         }\r
 \r
         ///\r
@@ -58,7 +58,7 @@ public class Tool implements EfiDefine, Section {
         OutputFile = new File (this.outPutFileName);\r
         long fileLen = OutputFile.length();\r
         if (!OutputFile.exists()) {\r
-            throw new BuildException("The file " + outPutFileName + " is not exist!\n");\r
+            throw new BuildException("The file " + outPutFileName + " does not exist!\n");\r
         }\r
 \r
         ///\r
@@ -91,7 +91,7 @@ public class Tool implements EfiDefine, Section {
 \r
         } catch (Exception e) {\r
             System.out.print(e.getMessage());\r
-            throw new BuildException("Call tool2buffer failed!\n");\r
+            throw new BuildException("Tool call, toBuffer failed!\n");\r
         }\r
     }\r
 \r
@@ -137,7 +137,7 @@ public class Tool implements EfiDefine, Section {
             crcProcess.waitFor();\r
         } catch (Exception e) {\r
             System.out.print (e.getMessage());\r
-            throw new BuildException("Execute tools fails!\n");\r
+            throw new BuildException("Execution of externalTool task failed!\n");\r
         }\r
     }\r
 \r