commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From craig...@apache.org
Subject cvs commit: jakarta-commons/digester/src/java/org/apache/commons/digester Digester.java
Date Sat, 05 Jan 2002 19:29:08 GMT
craigmcc    02/01/05 11:29:08

  Modified:    digester/src/java/org/apache/commons/digester Digester.java
  Log:
  Add a couple more public methods that were removed, but used by
  clients of Digester.
  
  Revision  Changes    Path
  1.33      +30 -4     jakarta-commons/digester/src/java/org/apache/commons/digester/Digester.java
  
  Index: Digester.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/java/org/apache/commons/digester/Digester.java,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- Digester.java	5 Jan 2002 00:48:55 -0000	1.32
  +++ Digester.java	5 Jan 2002 19:29:08 -0000	1.33
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-commons/digester/src/java/org/apache/commons/digester/Digester.java,v
1.32 2002/01/05 00:48:55 craigmcc Exp $
  - * $Revision: 1.32 $
  - * $Date: 2002/01/05 00:48:55 $
  + * $Header: /home/cvs/jakarta-commons/digester/src/java/org/apache/commons/digester/Digester.java,v
1.33 2002/01/05 19:29:08 craigmcc Exp $
  + * $Revision: 1.33 $
  + * $Date: 2002/01/05 19:29:08 $
    *
    * ====================================================================
    *
  @@ -112,7 +112,7 @@
    *
    * @author Craig McClanahan
    * @author Scott Sanders
  - * @version $Revision: 1.32 $ $Date: 2002/01/05 00:48:55 $
  + * @version $Revision: 1.33 $ $Date: 2002/01/05 19:29:08 $
    */
   
   public class Digester extends DefaultHandler {
  @@ -309,6 +309,7 @@
        */
       protected Log log = new NoOpLog();
   
  +
       // ----------------------------------------------------------- Properties
   
   
  @@ -1167,6 +1168,31 @@
   
   
       // ------------------------------------------------------- Public Methods
  +
  +
  +    /**
  +     * Log a message to our associated logger.
  +     *
  +     * @param message The message to be logged
  +     */
  +    public void log(String message) {
  +
  +        log.info(message);
  +
  +    }
  +
  +
  +    /**
  +     * Log a message and exception to our associated logger.
  +     *
  +     * @param message The message to be logged
  +     */
  +    public void log(String message, Throwable exception) {
  +
  +        log.error(message, exception);
  +
  +    }
  +
   
   
       /**
  
  
  

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


Mime
View raw message