[slf4j-dev] svn commit: r1213 - slf4j/trunk/jul-to-slf4j/src/main/java/org/slf4j/bridge

ceki at slf4j.org ceki at slf4j.org
Fri Oct 24 19:38:30 CEST 2008


Author: ceki
Date: Fri Oct 24 19:38:30 2008
New Revision: 1213

Modified:
   slf4j/trunk/jul-to-slf4j/src/main/java/org/slf4j/bridge/SLF4JBridgeHandler.java

Log:
- Refine the type of the exception thrown

Modified: slf4j/trunk/jul-to-slf4j/src/main/java/org/slf4j/bridge/SLF4JBridgeHandler.java
==============================================================================
--- slf4j/trunk/jul-to-slf4j/src/main/java/org/slf4j/bridge/SLF4JBridgeHandler.java	(original)
+++ slf4j/trunk/jul-to-slf4j/src/main/java/org/slf4j/bridge/SLF4JBridgeHandler.java	Fri Oct 24 19:38:30 2008
@@ -31,6 +31,7 @@
 
 package org.slf4j.bridge;
 
+import java.io.IOException;
 import java.text.MessageFormat;
 import java.util.MissingResourceException;
 import java.util.ResourceBundle;
@@ -106,14 +107,17 @@
   /**
    * Rereads the JUL configuration.
    * 
-   * @see LogManager#readConfiguration();
-   * @throws Exception
+   * @see LogManager#readConfiguration()
+   * 
+   * @throws IOException
+   *                 <code>IOException</code> if there are IO problems reading
+   *                 the configuration.
+   * @throws SecurityException
    *                 A <code>SecurityException</code> is thrown, if a security
    *                 manager exists and if the caller does not have
-   *                 LoggingPermission("control"). <code>IOException</code> if
-   *                 there are IO problems reading the configuration.
+   *                 LoggingPermission("control").
    */
-  public static void uninstall() throws Exception {
+  public static void uninstall() throws SecurityException, IOException {
     LogManager.getLogManager().readConfiguration();
   }
 



More information about the slf4j-dev mailing list