diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-10-20 09:28:08 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-10-20 09:28:08 +0000 |
commit | 3fabe9752d69a3021278d9bdd3eed9a4d3d6417e (patch) | |
tree | 9880476ba589e4358a0a80490b613ad7122894a3 /Tools | |
parent | 192a42b4de776da60cb65e06e74a27586a06831c (diff) | |
download | edk2-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.java | 12 |
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);
}
/**
|