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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]