1
0

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
This commit is contained in:
Gary D. Gregory
2016-06-07 02:19:52 +00:00
parent ad69474a61
commit 539d0518d9
2 changed files with 5 additions and 5 deletions

View File

@@ -262,7 +262,7 @@ public class LogFactoryImpl extends LogFactory {
* *
* @param clazz Class for which a suitable Log name will be derived * @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 * instance cannot be returned
*/ */
public Log getInstance(Class clazz) throws LogConfigurationException { 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 * returned (the meaning of this name is only known to the underlying
* logging implementation that is being wrapped) * 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 * instance cannot be returned
*/ */
public Log getInstance(String name) throws LogConfigurationException { public Log getInstance(String name) throws LogConfigurationException {
@@ -469,7 +469,7 @@ public class LogFactoryImpl extends LogFactory {
* the same <code>Constructor</code> instance will ultimately be derived * the same <code>Constructor</code> instance will ultimately be derived
* in all circumstances.</p> * in all circumstances.</p>
* *
* @exception LogConfigurationException if a suitable constructor * @throws LogConfigurationException if a suitable constructor
* cannot be returned * cannot be returned
* *
* @deprecated Never invoked by this class; subclasses should not assume * @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 * @param name Name of the new logger
* *
* @exception LogConfigurationException if a new instance cannot * @throws LogConfigurationException if a new instance cannot
* be created * be created
*/ */
protected Log newInstance(String name) throws LogConfigurationException { protected Log newInstance(String name) throws LogConfigurationException {

View File

@@ -577,7 +577,7 @@ public class SimpleLog implements Log, Serializable {
* The thread context class loader is available for JDK 1.2 * The thread context class loader is available for JDK 1.2
* or later, if certain security conditions are met. * 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. * cannot be identified.
*/ */
private static ClassLoader getContextClassLoader() { private static ClassLoader getContextClassLoader() {