You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sc...@apache.org on 2003/08/16 13:15:21 UTC

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

scolebourne    2003/08/16 04:15:21

  Modified:    lang/src/java/org/apache/commons/lang/exception package.html
                        Nestable.java ExceptionUtils.java
  Log:
  Javadoc changes
  bug 22480, from Pete Gieser
  
  Revision  Changes    Path
  1.3       +1 -0      jakarta-commons/lang/src/java/org/apache/commons/lang/exception/package.html
  
  Index: package.html
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/exception/package.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- package.html	31 May 2003 17:16:11 -0000	1.2
  +++ package.html	16 Aug 2003 11:15:20 -0000	1.3
  @@ -6,5 +6,6 @@
   Exception which can handle JDK 1.4 Exceptions as well as others. </p>
   <p>Lastly, {@link org.apache.commons.lang.exception.ExceptionUtils} 
   also contains <code>Throwable</code> manipulation and examination routines.</p>
  +@since 1.0
   </body>
   </html>
  
  
  
  1.8       +4 -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.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- Nestable.java	26 Jul 2003 13:00:36 -0000	1.7
  +++ Nestable.java	16 Aug 2003 11:15:20 -0000	1.8
  @@ -64,6 +64,7 @@
    * @author <a href="mailto:dlr@collab.net">Daniel Rall</a>
    * @author <a href="mailto:knielsen@apache.org">Kasper Nielsen</a>
    * @author <a href="mailto:steven@caswell.name">Steven Caswell</a>
  + * @author Pete Gieser
    * @since 1.0
    * @version $Id$
    */
  @@ -72,6 +73,8 @@
       /**
        * Returns the reference to the exception or error that caused the
        * exception implementing the <code>Nestable</code> to be thrown.
  +     *
  +     * @return throwable that caused the original exception
        */
       public Throwable getCause();
   
  
  
  
  1.32      +5 -4      jakarta-commons/lang/src/java/org/apache/commons/lang/exception/ExceptionUtils.java
  
  Index: ExceptionUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/exception/ExceptionUtils.java,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- ExceptionUtils.java	31 Jul 2003 23:45:28 -0000	1.31
  +++ ExceptionUtils.java	16 Aug 2003 11:15:20 -0000	1.32
  @@ -78,6 +78,7 @@
    * @author Dmitri Plotnikov
    * @author Stephen Colebourne
    * @author <a href="mailto:ggregory@seagullsw.com">Gary Gregory</a>
  + * @author Pete Gieser
    * @since 1.0
    * @version $Id$
    */
  @@ -180,9 +181,9 @@
        * <p>Introspects the <code>Throwable</code> to obtain the cause.</p>
        * 
        * <ol>
  -     * <li>Try known exception types.</p>
  -     * <li>Try the supplied array of method names.</p>
  -     * <li>Try the field 'detail'.</p>
  +     * <li>Try known exception types.</li>
  +     * <li>Try the supplied array of method names.</li>
  +     * <li>Try the field 'detail'.</li>
        * </ol>
        * 
        * <p>A <code>null</code> set of method names means use the default set.