Fixed grammar in messages.
[mirror_edk2.git] / Tools / Source / GenBuild / org / tianocore / build / autogen / AutogenLibOrder.java
index 5ab585c..8aad4cc 100644 (file)
@@ -85,7 +85,7 @@ public class AutogenLibOrder {
                 if (this.libInstanceMap.containsKey(libraryList[i])) {\r
                     throw new Exception(\r
                             libraryList[i].getName()\r
-                                    + "this library instance is already exist, please check you library instance list!");\r
+                                    + "this library instance already exists, please check the library instance list!");\r
                 } else {\r
                     this.libInstanceMap.put(libraryList[i], classStr);\r
                 }\r
@@ -102,8 +102,8 @@ public class AutogenLibOrder {
                         System.out.println(libClassDeclList[j]\r
                                 + " class is already implement by "\r
                                 + this.libClassMap.get(libClassDeclList[j]));\r
-                        throw new Exception(libClassDeclList\r
-                                + " is already have library instance!");\r
+                        throw new Exception("Library Class: " + libClassDeclList\r
+                                + " already has a library instance!");\r
                     } else {\r
                         this.libClassMap.put(libClassDeclList[j], libraryList[i]);\r
                     }\r