avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon/src/java/org/apache/avalon/framework ExceptionUtil.java
Date Sat, 02 Mar 2002 02:50:52 GMT
donaldp     02/03/01 18:50:52

  Modified:    src/java/org/apache/avalon/framework ExceptionUtil.java
  Log:
  Made getCause() public
  
  Revision  Changes    Path
  1.9       +4 -4      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.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- ExceptionUtil.java	1 Mar 2002 10:24:00 -0000	1.8
  +++ ExceptionUtil.java	2 Mar 2002 02:50:52 -0000	1.9
  @@ -9,9 +9,9 @@
   
   import java.io.PrintWriter;
   import java.io.StringWriter;
  -import java.util.StringTokenizer;
  -import java.lang.reflect.Method;
   import java.lang.reflect.InvocationTargetException;
  +import java.lang.reflect.Method;
  +import java.util.StringTokenizer;
   
   /**
    * This class provides basic facilities for manipulating exceptions.
  @@ -132,8 +132,8 @@
       /**
        * Utility method to get cause of exception.
        */
  -    private static Throwable getCause( final Throwable throwable,
  -                                       final boolean useReflection )
  +    public static Throwable getCause( final Throwable throwable,
  +                                      final boolean useReflection )
       {
           if( throwable instanceof CascadingThrowable )
           {
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message