]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Java/Source/GenBuild/org/tianocore/build/pcd/action/PlatformPcdPreprocessActionForBuilding.java
Remove unnecessary exception caching.
[mirror_edk2.git] / Tools / Java / Source / GenBuild / org / tianocore / build / pcd / action / PlatformPcdPreprocessActionForBuilding.java
index 5ce11c546a32fc9f3f9cd3e41f7e5054e213de85..234fbff5fa6752eccc0f4824f71cc408c91be7b2 100644 (file)
@@ -139,17 +139,9 @@ public class PlatformPcdPreprocessActionForBuilding extends PlatformPcdPreproces
       @param guidCName      Guid CName string.\r
 \r
       @return String        Guid information from SPD file.\r
-      @throws PlatformPcdPreprocessException\r
-                            Fail to get Guid information from SPD file.\r
     **/\r
-    public String getGuidInfoFromSpd(String guidCName) throws PlatformPcdPreprocessException {\r
-        String tokenSpaceStrRet = null;\r
-        try {\r
-            tokenSpaceStrRet = GlobalData.getGuidInfoFromCname(guidCName);\r
-        } catch ( Exception e ) {\r
-            throw new PlatformPcdPreprocessException ("Failed to get Guid CName " + guidCName + " from the SPD file!");\r
-        }\r
-        return tokenSpaceStrRet;\r
+    public String getGuidInfoFromSpd(String guidCName) {\r
+        return GlobalData.getGuidInfoFromCname(guidCName);\r
     }\r
 \r
     /**\r