Author: rgoers
Date: Mon Jan 27 02:23:38 2014
New Revision: 1561582

URL: http://svn.apache.org/r1561582
Log:
Add @throws to getOrCreateLevel method

Modified:
    
logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/Level.java

Modified: 
logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/Level.java
URL: 
http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/Level.java?rev=1561582&r1=1561581&r2=1561582&view=diff
==============================================================================
--- 
logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/Level.java
 (original)
+++ 
logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/Level.java
 Mon Jan 27 02:23:38 2014
@@ -198,6 +198,7 @@ public final class Level implements Comp
      * @param name The name of the level.
      * @param intValue The integer value for the Level. If the level was 
previously created this value is ignored.
      * @return The Level.
+     * @throws java.lang.IllegalArgumentException if the name is null or 
intValue is less than zero.
      */
     public static Level getOrCreateLevel(String name, int intValue) {
         Level level = levels.get(name);


Reply via email to