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:
@@ -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 <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 LogFactory {
|
||||
* 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 LogFactory {
|
||||
* 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 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 {
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user