ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant BuildException.java
Date Thu, 02 Aug 2001 12:19:35 GMT
conor       01/08/02 05:19:35

  Modified:    src/main/org/apache/tools/ant BuildException.java
  Log:
  BuildExceptions were not printing their own stack trace. They do this now
  but it does make the output in the event of a failure a bit noisier
  
  Revision  Changes    Path
  1.11      +2 -2      jakarta-ant/src/main/org/apache/tools/ant/BuildException.java
  
  Index: BuildException.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/BuildException.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- BuildException.java	2001/02/03 14:06:32	1.10
  +++ BuildException.java	2001/08/02 12:19:35	1.11
  @@ -173,7 +173,7 @@
       
       public void printStackTrace(PrintStream ps) {
           synchronized (ps) {
  -            ps.println(this);
  +            super.printStackTrace(ps);
               if (cause != null) {
                   ps.println("--- Nested Exception ---");
                   cause.printStackTrace(ps);
  @@ -183,7 +183,7 @@
       
       public void printStackTrace(PrintWriter pw) {
           synchronized (pw) {
  -            pw.println(this);
  +            super.printStackTrace(pw);
               if (cause != null) {
                   pw.println("--- Nested Exception ---");
                   cause.printStackTrace(pw);
  
  
  

Mime
View raw message