summaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2006-10-20 09:28:08 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2006-10-20 09:28:08 +0000
commit3fabe9752d69a3021278d9bdd3eed9a4d3d6417e (patch)
tree9880476ba589e4358a0a80490b613ad7122894a3 /Tools
parent192a42b4de776da60cb65e06e74a27586a06831c (diff)
downloadedk2-platforms-3fabe9752d69a3021278d9bdd3eed9a4d3d6417e.tar.xz
Remove unnecessary exception caching.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1803 6f19259b-4bc3-4df7-8a09-765794883524
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);
}
/**