You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-cvs@jakarta.apache.org by ce...@apache.org on 2001/04/12 00:01:19 UTC

cvs commit: jakarta-log4j/src/java/org/apache/log4j/spi LoggingEvent.java

ceki        01/04/11 15:01:19

  Modified:    src/java/org Makefile
               src/java/org/apache Makefile
               src/java/org/apache/log4j/spi LoggingEvent.java
  Log:
  Added missing getThrowableInformation method in LoggingEvent. Fixed a few Makefiles.
  
  Revision  Changes    Path
  1.3       +1 -1      jakarta-log4j/src/java/org/Makefile
  
  Index: Makefile
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j/src/java/org/Makefile,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Makefile	2000/12/14 21:07:14	1.2
  +++ Makefile	2001/04/11 22:01:18	1.3
  @@ -1,6 +1,6 @@
   
   PKG_DIR :=org/
  -DEPTH   :=..
  +DEPTH   :=../../..
   JSOURCES:=
   
   SUBDIRS := apache
  
  
  
  1.2       +1 -1      jakarta-log4j/src/java/org/apache/Makefile
  
  Index: Makefile
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j/src/java/org/apache/Makefile,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Makefile	2000/12/14 21:07:15	1.1
  +++ Makefile	2001/04/11 22:01:18	1.2
  @@ -1,6 +1,6 @@
   
   PKG_DIR :=org/apache/
  -DEPTH   :=../..
  +DEPTH   :=../../../..
   JSOURCES:=
   
   SUBDIRS := log4j
  
  
  
  1.11      +12 -0     jakarta-log4j/src/java/org/apache/log4j/spi/LoggingEvent.java
  
  Index: LoggingEvent.java
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j/src/java/org/apache/log4j/spi/LoggingEvent.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- LoggingEvent.java	2001/03/28 16:30:31	1.10
  +++ LoggingEvent.java	2001/04/11 22:01:19	1.11
  @@ -192,6 +192,18 @@
       return threadName;
     }
   
  +  /**
  +     Returns the throwable information contained within this
  +     event. May be <code>null</code> if there is no such information.
  +
  +     <p>Note that the {@link Throwable} object contained within a
  +     {@link ThrowableInformation} does not survive serialization.
  +
  +     @since 1.1 */
  +  public
  +  ThrowableInformation getThrowableInformation() {
  +    return throwableInfo;
  +  }
   
     /**
        Return this event's throwable's string[] representaion.
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-cvs-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-cvs-help@jakarta.apache.org