commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commit-cp] classpath ChangeLog java/util/InputMismatchExce... [generics


From: Andrew John Hughes
Subject: [commit-cp] classpath ChangeLog java/util/InputMismatchExce... [generics-branch]
Date: Wed, 07 Jun 2006 20:15:20 +0000

CVSROOT:        /cvsroot/classpath
Module name:    classpath
Branch:         generics-branch
Changes by:     Andrew John Hughes <gnu_andrew> 06/06/07 20:15:18

Modified files:
        .              : ChangeLog 
        java/util      : InputMismatchException.java 

Log message:
        2006-06-07  Andrew John Hughes  <address@hidden>
        
                * java/util/InputMismatchException.java:
                Documented.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&only_with_tag=generics-branch&r1=1.2386.2.265&r2=1.2386.2.266
http://cvs.savannah.gnu.org/viewcvs/classpath/java/util/InputMismatchException.java?cvsroot=classpath&only_with_tag=generics-branch&r1=1.1.2.2&r2=1.1.2.3

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/classpath/classpath/ChangeLog,v
retrieving revision 1.2386.2.265
retrieving revision 1.2386.2.266
diff -u -b -r1.2386.2.265 -r1.2386.2.266
--- ChangeLog   4 Jun 2006 22:38:56 -0000       1.2386.2.265
+++ ChangeLog   7 Jun 2006 20:15:16 -0000       1.2386.2.266
@@ -1,3 +1,8 @@
+2006-06-07  Andrew John Hughes  <address@hidden>
+
+       * java/util/InputMismatchException.java:
+       Documented.
+       
 2006-06-04  Andrew John Hughes  <address@hidden>
 
        * java/util/Formattable.java,

Index: java/util/InputMismatchException.java
===================================================================
RCS file: 
/cvsroot/classpath/classpath/java/util/Attic/InputMismatchException.java,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -b -r1.1.2.2 -r1.1.2.3
--- java/util/InputMismatchException.java       21 Sep 2005 21:32:40 -0000      
1.1.2.2
+++ java/util/InputMismatchException.java       7 Jun 2006 20:15:18 -0000       
1.1.2.3
@@ -38,13 +38,34 @@
 
 package java.util;
 
-/** @since 1.5 */
-public class InputMismatchException extends NoSuchElementException
+/** 
+ * Thrown when a address@hidden Scanner} instance encounters a mismatch
+ * between the input data and the pattern it is trying to match it
+ * against.  This could be because the input data represents an
+ * out-of-range value for the type the pattern represents, or simply
+ * because the data does not fit that particular type.
+ *
+ * @author Tom Tromey (address@hidden)
+ * @author Andrew John Hughes (address@hidden)
+ * @since 1.5 
+ */
+public class InputMismatchException 
+  extends NoSuchElementException
 {
+  /**
+   * Constructs a new <code>InputMismatchException</code>
+   * with a <code>null</code> message.
+   */
   public InputMismatchException()
   {
   }
 
+  /**
+   * Constructs a new <code>InputMismatchException</code>
+   * with the supplied error message.
+   *
+   * @param s the error message to report back to the user.
+   */
   public InputMismatchException(String s)
   {
     super(s);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]