donaldp     02/03/30 13:11:54

  Modified:    src/java/org/apache/avalon/framework ExceptionUtil.java
  Log:
  When printing out exception, use reflection by default. What does this mean? 
It means that the util will look up method "getCause()" if it exists. The 
benefit of this is that jdk1.4 exceptions (that automagically use this pattern) 
will be supported regardless of whether they implement CascadingThrowable or 
not.
  
  Revision  Changes    Path
  1.11      +1 -1      
jakarta-avalon/src/java/org/apache/avalon/framework/ExceptionUtil.java
  
  Index: ExceptionUtil.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-avalon/src/java/org/apache/avalon/framework/ExceptionUtil.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- ExceptionUtil.java        21 Mar 2002 14:51:12 -0000      1.10
  +++ ExceptionUtil.java        30 Mar 2002 21:11:54 -0000      1.11
  @@ -100,7 +100,7 @@
                                             final int depth,
                                             final boolean printCascading )
       {
  -        return printStackTrace( throwable, depth, printCascading, false );
  +        return printStackTrace( throwable, depth, printCascading, true );
       }
   
       /**
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to