You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ep...@apache.org on 2003/11/12 09:12:33 UTC

cvs commit: jakarta-commons-sandbox/configuration/src/java/org/apache/commons/configuration Configuration.java

epugh       2003/11/12 00:12:33

  Modified:    configuration/src/java/org/apache/commons/configuration
                        Configuration.java
  Log:
  Missing Javadocs on the NoSuchElementException being thrown.
  
  Revision  Changes    Path
  1.6       +5 -1      jakarta-commons-sandbox/configuration/src/java/org/apache/commons/configuration/Configuration.java
  
  Index: Configuration.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/configuration/src/java/org/apache/commons/configuration/Configuration.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- Configuration.java	12 Oct 2003 09:32:30 -0000	1.5
  +++ Configuration.java	12 Nov 2003 08:12:33 -0000	1.6
  @@ -450,6 +450,8 @@
        * object that is not a Short.
        * @exception NumberFormatException is thrown if the value mapped
        * by the key has not a valid number format.
  +     * @exception NoSuchElementException is thrown if the key doesn't
  +     * map to an existing object.
        */
       Short getShort(String key, Short defaultValue);
   
  @@ -460,6 +462,8 @@
        * @return The associated string.
        * @exception ClassCastException is thrown if the key maps to an object that
        *            is not a String.
  +     * @exception NoSuchElementException is thrown if the key doesn't
  +     *         map to an existing object.
        */
       String getString(String key);
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org