commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1747117 - in /commons/proper/logging/trunk/src/main/java/org/apache/commons/logging/impl: LogFactoryImpl.java SimpleLog.java
Date Tue, 07 Jun 2016 02:19:52 GMT
Author: ggregory
Date: Tue Jun  7 02:19:52 2016
New Revision: 1747117

URL: http://svn.apache.org/viewvc?rev=1747117&view=rev
Log:
Update old school @exception with new school @throws.

Modified:
    commons/proper/logging/trunk/src/main/java/org/apache/commons/logging/impl/LogFactoryImpl.java
    commons/proper/logging/trunk/src/main/java/org/apache/commons/logging/impl/SimpleLog.java

Modified: commons/proper/logging/trunk/src/main/java/org/apache/commons/logging/impl/LogFactoryImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/logging/trunk/src/main/java/org/apache/commons/logging/impl/LogFactoryImpl.java?rev=1747117&r1=1747116&r2=1747117&view=diff
==============================================================================
--- commons/proper/logging/trunk/src/main/java/org/apache/commons/logging/impl/LogFactoryImpl.java
(original)
+++ commons/proper/logging/trunk/src/main/java/org/apache/commons/logging/impl/LogFactoryImpl.java
Tue Jun  7 02:19:52 2016
@@ -262,7 +262,7 @@ public class LogFactoryImpl extends LogF
      *
      * @param clazz Class for which a suitable Log name will be derived
      *
-     * @exception LogConfigurationException if a suitable <code>Log</code>
+     * @throws LogConfigurationException if a suitable <code>Log</code>
      *  instance cannot be returned
      */
     public Log getInstance(Class clazz) throws LogConfigurationException {
@@ -283,7 +283,7 @@ public class LogFactoryImpl extends LogF
      *  returned (the meaning of this name is only known to the underlying
      *  logging implementation that is being wrapped)
      *
-     * @exception LogConfigurationException if a suitable <code>Log</code>
+     * @throws LogConfigurationException if a suitable <code>Log</code>
      *  instance cannot be returned
      */
     public Log getInstance(String name) throws LogConfigurationException {
@@ -469,7 +469,7 @@ public class LogFactoryImpl extends LogF
      * the same <code>Constructor</code> instance will ultimately be derived
      * in all circumstances.</p>
      *
-     * @exception LogConfigurationException if a suitable constructor
+     * @throws LogConfigurationException if a suitable constructor
      *  cannot be returned
      *
      * @deprecated  Never invoked by this class; subclasses should not assume
@@ -531,7 +531,7 @@ public class LogFactoryImpl extends LogF
      *
      * @param name Name of the new logger
      *
-     * @exception LogConfigurationException if a new instance cannot
+     * @throws LogConfigurationException if a new instance cannot
      *  be created
      */
     protected Log newInstance(String name) throws LogConfigurationException {

Modified: commons/proper/logging/trunk/src/main/java/org/apache/commons/logging/impl/SimpleLog.java
URL: http://svn.apache.org/viewvc/commons/proper/logging/trunk/src/main/java/org/apache/commons/logging/impl/SimpleLog.java?rev=1747117&r1=1747116&r2=1747117&view=diff
==============================================================================
--- commons/proper/logging/trunk/src/main/java/org/apache/commons/logging/impl/SimpleLog.java
(original)
+++ commons/proper/logging/trunk/src/main/java/org/apache/commons/logging/impl/SimpleLog.java
Tue Jun  7 02:19:52 2016
@@ -577,7 +577,7 @@ public class SimpleLog implements Log, S
      * The thread context class loader is available for JDK 1.2
      * or later, if certain security conditions are met.
      *
-     * @exception LogConfigurationException if a suitable class loader
+     * @throws LogConfigurationException if a suitable class loader
      * cannot be identified.
      */
     private static ClassLoader getContextClassLoader() {



Mime
View raw message