\r
**/\r
public void execute() throws PlatformPcdPreprocessBuildException {\r
- String errorMessageHeader = "Fail to initialize Pcd memory database for building. Because:";\r
+ String errorMessageHeader = "Failed to initialize the Pcd memory database because: ";\r
String errorsForPreprocess = null;\r
\r
//\r
try {\r
tokenSpaceStrRet = GlobalData.getGuidInfoFromCname(guidCName);\r
} catch ( Exception e ) {\r
- throw new PlatformPcdPreprocessException ("Failed get Guid CName " + guidCName + "from SPD file!");\r
+ throw new PlatformPcdPreprocessException ("Failed to get Guid CName " + guidCName + " from the SPD file!");\r
}\r
return tokenSpaceStrRet;\r
}\r
\r
dynamicPcdBuildDefinitions = fpdDocInstance.getPlatformSurfaceArea().getDynamicPcdBuildDefinitions();\r
if (dynamicPcdBuildDefinitions == null) {\r
- exceptionString = String.format("[FPD file error] There are no <PcdDynamicBuildDescriptions> in FPD file but contains Dynamic type "+\r
- "PCD entry %s in module %s!",\r
+ exceptionString = String.format("[FPD file error] There are no <PcdDynamicBuildDescriptions> elements in FPD file but there are Dynamic type "+\r
+ "PCD entries %s in module %s!",\r
token.cName,\r
moduleName);\r
putError(exceptionString);\r
File file = null;\r
\r
if (fpdFilePath == null) {\r
- throw new PlatformPcdPreprocessBuildException("WorkspacePath and FPDFileName should be blank for CollectPCDAtion!");\r
+ throw new PlatformPcdPreprocessBuildException("WorkspacePath and FPDFileName should be empty for CollectPCDAtion!");\r
}\r
\r
if (fpdFilePath.length() == 0) {\r
- throw new PlatformPcdPreprocessBuildException("WorkspacePath and FPDFileName should be blank for CollectPCDAtion!");\r
+ throw new PlatformPcdPreprocessBuildException("WorkspacePath and FPDFileName should be empty for CollectPCDAtion!");\r
}\r
\r
file = new File(fpdFilePath);\r