mirror of https://github.com/acidanthera/audk.git
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:
parent
192a42b4de
commit
3fabe9752d
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue