You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by rg...@apache.org on 2010/05/30 10:35:49 UTC

svn commit: r949492 - /logging/log4j/branches/BRANCH_2_0_EXPERIMENTAL/rgoers/log4j2-core/src/main/java/org/apache/logging/log4j/core/LoggingException.java

Author: rgoers
Date: Sun May 30 08:35:49 2010
New Revision: 949492

URL: http://svn.apache.org/viewvc?rev=949492&view=rev
Log:
Add javadoc description to resolve @doubt comment

Modified:
    logging/log4j/branches/BRANCH_2_0_EXPERIMENTAL/rgoers/log4j2-core/src/main/java/org/apache/logging/log4j/core/LoggingException.java

Modified: logging/log4j/branches/BRANCH_2_0_EXPERIMENTAL/rgoers/log4j2-core/src/main/java/org/apache/logging/log4j/core/LoggingException.java
URL: http://svn.apache.org/viewvc/logging/log4j/branches/BRANCH_2_0_EXPERIMENTAL/rgoers/log4j2-core/src/main/java/org/apache/logging/log4j/core/LoggingException.java?rev=949492&r1=949491&r2=949492&view=diff
==============================================================================
--- logging/log4j/branches/BRANCH_2_0_EXPERIMENTAL/rgoers/log4j2-core/src/main/java/org/apache/logging/log4j/core/LoggingException.java (original)
+++ logging/log4j/branches/BRANCH_2_0_EXPERIMENTAL/rgoers/log4j2-core/src/main/java/org/apache/logging/log4j/core/LoggingException.java Sun May 30 08:35:49 2010
@@ -17,9 +17,10 @@
 package org.apache.logging.log4j.core;
 
 /**
- *
- *
- * @doubt Unchecked?
+ * Exception thrown when a exception occurs while logging.  In most cases exceptions will be handled
+ * within Log4j but certain Appenders may be configured to allow exceptions to propagate to the
+ * application. This is a RuntimeException so that the exception may be thrown in those cases without
+ * requiring all Logger methods be contained with try/catch blocks.
  *
  */
 public class LoggingException extends RuntimeException {



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