X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=Tools%2FJava%2FSource%2FGenBuild%2Forg%2Ftianocore%2Fbuild%2Fpcd%2Faction%2FPlatformPcdPreprocessActionForBuilding.java;h=234fbff5fa6752eccc0f4824f71cc408c91be7b2;hp=5ce11c546a32fc9f3f9cd3e41f7e5054e213de85;hb=3fabe9752d69a3021278d9bdd3eed9a4d3d6417e;hpb=192a42b4de776da60cb65e06e74a27586a06831c 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); } /**