Removed the printStackTrace() which is used only for debug purpose.
authorjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 10 Jul 2006 10:51:01 +0000 (10:51 +0000)
committerjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 10 Jul 2006 10:51:01 +0000 (10:51 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@864 6f19259b-4bc3-4df7-8a09-765794883524

Tools/Source/GenBuild/org/tianocore/build/FrameworkBuildTask.java
Tools/Source/GenBuild/org/tianocore/build/GenBuildTask.java
Tools/Source/GenBuild/org/tianocore/build/ModuleBuildFileGenerator.java
Tools/Source/GenBuild/org/tianocore/build/fpd/FpdParserTask.java
Tools/Source/GenBuild/org/tianocore/build/fpd/PlatformBuildFileGenerator.java
Tools/Source/GenBuild/org/tianocore/build/global/GlobalData.java

index 624b07d046dfe30e6d900ddb8183476cba4e5cef..f09becbad0a28d79e830e0560615fe3939e19de6 100644 (file)
@@ -80,7 +80,6 @@ public class FrameworkBuildTask extends Task{
                 }\r
             }\r
         } catch (Exception e) {\r
-            e.printStackTrace();\r
             throw new BuildException(e.getMessage());\r
         }\r
         \r
index bc484a29e428c6c1f49b3114324328ce47fa1fa6..c01ca93985d94df73fbff40166bfdabba2c1a0b7 100644 (file)
@@ -291,7 +291,6 @@ public class GenBuildTask extends Ant {
         }\r
         popProperties();\r
         }catch (Exception e){\r
-            e.printStackTrace();\r
             throw new BuildException(e.getMessage());\r
         }\r
     }\r
index 7d8bf8b59e11d64d8df5937d70c2c0969666a71e..0680146cec478f827eb84590cd3d9a4a1114fb5a 100644 (file)
@@ -221,7 +221,6 @@ public class ModuleBuildFileGenerator {
             xformer.setOutputProperty(OutputKeys.INDENT, "yes");\r
             xformer.transform(source, result);\r
         } catch (Exception ex) {\r
-            ex.printStackTrace();\r
             throw new BuildException("Module [" + fpdModuleId.getModule().getName() + "] generating build file failed.\n" + ex.getMessage());\r
         }\r
     }\r
index b102ecfee10b32278d1f098948c97cff6fe8db3e..2b0fb2346be35411be04b59098ef2b58f71a852d 100644 (file)
@@ -311,7 +311,6 @@ public class FpdParserTask extends Task {
                 bw.close();\r
                 fw.close();\r
             } catch (Exception e) {\r
-                e.printStackTrace();\r
                 throw new BuildException("Generate FV file [" + fvFile.getPath() + "] failed. \n" + e.getMessage());\r
             }\r
         }\r
@@ -394,7 +393,6 @@ public class FpdParserTask extends Task {
                 throw new BuildException(e.getMessage());\r
             }\r
         } catch (Exception e) {\r
-            e.printStackTrace();\r
             throw new BuildException("Load FPD file [" + fpdFile.getPath() + "] error. \n" + e.getMessage());\r
         }\r
     }\r
index 929ddeaadcf92cfd20e403eb9d2b563e0f9cb48a..a7566f449eb6b5fe9955e2b26eac95acfcb954ca 100644 (file)
@@ -190,7 +190,6 @@ public class PlatformBuildFileGenerator {
             xformer.setOutputProperty(OutputKeys.INDENT, "yes");\r
             xformer.transform(source, result);\r
         } catch (Exception ex) {\r
-            ex.printStackTrace();\r
             throw new BuildException("Generate " + platformName + "_build.xml failed. \n" + ex.getMessage());\r
         }\r
     }\r
index bfeea8ae166eb0d290461da6ced829a1cda96b52..51f198571a9241a11999f017d2697e3a75cdb242 100644 (file)
@@ -230,7 +230,6 @@ public class GlobalData {
                 }\r
             }\r
         } catch (Exception e) {\r
-            e.printStackTrace();\r
             throw new BuildException("Parse workspace Database [" + dbFile.getPath() + "] Error.\n" + e.getMessage());\r
         }\r
     }\r