summaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
Diffstat (limited to 'Tools')
-rw-r--r--Tools/Java/Source/GenBuild/org/tianocore/build/pcd/action/PlatformPcdPreprocessActionForBuilding.java12
1 files changed, 2 insertions, 10 deletions
diff --git a/Tools/Java/Source/GenBuild/org/tianocore/build/pcd/action/PlatformPcdPreprocessActionForBuilding.java b/Tools/Java/Source/GenBuild/org/tianocore/build/pcd/action/PlatformPcdPreprocessActionForBuilding.java
index 5ce11c546a..234fbff5fa 100644
--- a/Tools/Java/Source/GenBuild/org/tianocore/build/pcd/action/PlatformPcdPreprocessActionForBuilding.java
+++ b/Tools/Java/Source/GenBuild/org/tianocore/build/pcd/action/PlatformPcdPreprocessActionForBuilding.java
@@ -139,17 +139,9 @@ public class PlatformPcdPreprocessActionForBuilding extends PlatformPcdPreproces
@param guidCName Guid CName string.
@return String Guid information from SPD file.
- @throws PlatformPcdPreprocessException
- Fail to get Guid information from SPD file.
**/
- public String getGuidInfoFromSpd(String guidCName) throws PlatformPcdPreprocessException {
- String tokenSpaceStrRet = null;
- try {
- tokenSpaceStrRet = GlobalData.getGuidInfoFromCname(guidCName);
- } catch ( Exception e ) {
- throw new PlatformPcdPreprocessException ("Failed to get Guid CName " + guidCName + " from the SPD file!");
- }
- return tokenSpaceStrRet;
+ public String getGuidInfoFromSpd(String guidCName) {
+ return GlobalData.getGuidInfoFromCname(guidCName);
}
/**