From 539d0518d9d92cc163ff8083e4d1b3dbdd214ded Mon Sep 17 00:00:00 2001 From: "Gary D. Gregory" Date: Tue, 7 Jun 2016 02:19:52 +0000 Subject: [PATCH] Update old school @exception with new school @throws. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1747117 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/commons/logging/impl/LogFactoryImpl.java | 8 ++++---- .../java/org/apache/commons/logging/impl/SimpleLog.java | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/org/apache/commons/logging/impl/LogFactoryImpl.java b/src/main/java/org/apache/commons/logging/impl/LogFactoryImpl.java index 56b4a14..30fbdf5 100644 --- a/src/main/java/org/apache/commons/logging/impl/LogFactoryImpl.java +++ b/src/main/java/org/apache/commons/logging/impl/LogFactoryImpl.java @@ -262,7 +262,7 @@ public class LogFactoryImpl extends LogFactory { * * @param clazz Class for which a suitable Log name will be derived * - * @exception LogConfigurationException if a suitable Log + * @throws LogConfigurationException if a suitable Log * instance cannot be returned */ public Log getInstance(Class clazz) throws LogConfigurationException { @@ -283,7 +283,7 @@ public class LogFactoryImpl extends LogFactory { * returned (the meaning of this name is only known to the underlying * logging implementation that is being wrapped) * - * @exception LogConfigurationException if a suitable Log + * @throws LogConfigurationException if a suitable Log * instance cannot be returned */ public Log getInstance(String name) throws LogConfigurationException { @@ -469,7 +469,7 @@ public class LogFactoryImpl extends LogFactory { * the same Constructor instance will ultimately be derived * in all circumstances.

* - * @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 LogFactory { * * @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 { diff --git a/src/main/java/org/apache/commons/logging/impl/SimpleLog.java b/src/main/java/org/apache/commons/logging/impl/SimpleLog.java index 919c4f0..8405cbd 100644 --- a/src/main/java/org/apache/commons/logging/impl/SimpleLog.java +++ b/src/main/java/org/apache/commons/logging/impl/SimpleLog.java @@ -577,7 +577,7 @@ public class SimpleLog implements Log, Serializable { * 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() {