Remove unnecessary exception caching.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1803 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
klu2 2006-10-20 09:28:08 +00:00
parent 192a42b4de
commit 3fabe9752d
1 changed files with 2 additions and 10 deletions

View File

@ -139,17 +139,9 @@ public class PlatformPcdPreprocessActionForBuilding extends PlatformPcdPreproces
@param guidCName Guid CName string. @param guidCName Guid CName string.
@return String Guid information from SPD file. @return String Guid information from SPD file.
@throws PlatformPcdPreprocessException
Fail to get Guid information from SPD file.
**/ **/
public String getGuidInfoFromSpd(String guidCName) throws PlatformPcdPreprocessException { public String getGuidInfoFromSpd(String guidCName) {
String tokenSpaceStrRet = null; return GlobalData.getGuidInfoFromCname(guidCName);
try {
tokenSpaceStrRet = GlobalData.getGuidInfoFromCname(guidCName);
} catch ( Exception e ) {
throw new PlatformPcdPreprocessException ("Failed to get Guid CName " + guidCName + " from the SPD file!");
}
return tokenSpaceStrRet;
} }
/** /**