commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From skitch...@apache.org
Subject svn commit: r382602 - /jakarta/commons/proper/logging/contrib/simon/jcl2/src/core/java/org/apache/commons/logging/LogConfigurationException.java
Date Fri, 03 Mar 2006 01:27:53 GMT
Author: skitching
Date: Thu Mar  2 17:27:52 2006
New Revision: 382602

URL: http://svn.apache.org/viewcvs?rev=382602&view=rev
Log:
Whitespace cleanups only.

Modified:
    jakarta/commons/proper/logging/contrib/simon/jcl2/src/core/java/org/apache/commons/logging/LogConfigurationException.java

Modified: jakarta/commons/proper/logging/contrib/simon/jcl2/src/core/java/org/apache/commons/logging/LogConfigurationException.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/logging/contrib/simon/jcl2/src/core/java/org/apache/commons/logging/LogConfigurationException.java?rev=382602&r1=382601&r2=382602&view=diff
==============================================================================
--- jakarta/commons/proper/logging/contrib/simon/jcl2/src/core/java/org/apache/commons/logging/LogConfigurationException.java
(original)
+++ jakarta/commons/proper/logging/contrib/simon/jcl2/src/core/java/org/apache/commons/logging/LogConfigurationException.java
Thu Mar  2 17:27:52 2006
@@ -16,41 +16,35 @@
 
 package org.apache.commons.logging;
 
-
 /**
- * <p>An exception that is thrown only if a suitable <code>LogFactory</code>
+ * An exception that is thrown only if a suitable <code>LogFactory</code>
  * or <code>Log</code> instance cannot be created by the corresponding
- * factory methods.</p>
- *
- * @author Craig R. McClanahan
- * @version $Revision$ $Date$
+ * factory methods.
  */
 
 public class LogConfigurationException extends RuntimeException {
 
+    /**
+     * The underlying cause of this exception.
+     */
+    protected Throwable cause = null;
 
     /**
      * Construct a new exception with <code>null</code> as its detail message.
      */
     public LogConfigurationException() {
-
         super();
-
     }
 
-
     /**
      * Construct a new exception with the specified detail message.
      *
      * @param message The detail message
      */
     public LogConfigurationException(String message) {
-
         super(message);
-
     }
 
-
     /**
      * Construct a new exception with the specified cause and a derived
      * detail message.
@@ -58,12 +52,9 @@
      * @param cause The underlying cause
      */
     public LogConfigurationException(Throwable cause) {
-
         this((cause == null) ? null : cause.toString(), cause);
-
     }
 
-
     /**
      * Construct a new exception with the specified detail message and cause.
      *
@@ -71,27 +62,14 @@
      * @param cause The underlying cause
      */
     public LogConfigurationException(String message, Throwable cause) {
-
         super(message + " (Caused by " + cause + ")");
         this.cause = cause; // Two-argument version requires JDK 1.4 or later
-
     }
 
-
-    /**
-     * The underlying cause of this exception.
-     */
-    protected Throwable cause = null;
-
-
     /**
      * Return the underlying cause of this exception (if any).
      */
     public Throwable getCause() {
-
-        return (this.cause);
-
+        return this.cause;
     }
-
-
 }



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


Mime
View raw message