You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by st...@apache.org on 2002/09/12 03:20:25 UTC

cvs commit: jakarta-commons/lang/src/java/org/apache/commons/lang/exception Nestable.java

stevencaswell    2002/09/11 18:20:25

  Modified:    lang/src/java/org/apache/commons/lang/exception
                        Nestable.java
  Log:
  added printStackTrace(PrintStream) for consistency with printStackTrace(PrintWriter)
  
  Revision  Changes    Path
  1.4       +11 -1     jakarta-commons/lang/src/java/org/apache/commons/lang/exception/Nestable.java
  
  Index: Nestable.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/exception/Nestable.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Nestable.java	25 Aug 2002 13:20:59 -0000	1.3
  +++ Nestable.java	12 Sep 2002 01:20:25 -0000	1.4
  @@ -54,6 +54,7 @@
    * <http://www.apache.org/>.
    */
   
  +import java.io.PrintStream;
   import java.io.PrintWriter;
   
   /**
  @@ -174,6 +175,15 @@
        * @param out <code>PrintWriter</code> to use for output.
        */
       public void printStackTrace(PrintWriter out);
  +
  +    /**
  +     * Prints the stack trace of this exception to the specified print
  +     * stream.  Includes inforamation from the exception--if
  +     * any--which caused this exception.
  +     *
  +     * @param out <code>PrintStream</code> to use for output.
  +     */
  +    public void printStackTrace(PrintStream out);
   
       /**
        * Prints the stack trace for this exception only--root cause not
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>