This patch documents java.util.InputMismatchException. AFAICS, this represents the final file that a) needs documenting and b) sending over to HEAD.
Roll on gcj+ecj for the rest...
Changelog:
2006-06-07 Andrew John Hughes <[EMAIL PROTECTED]>
* java/util/InputMismatchException.java:
Documented.
Cheers,
--
Andrew :-)
Please avoid sending me Microsoft Office (e.g. Word, PowerPoint) attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
If you use Microsoft Office, support movement towards the end of vendor lock-in:
http://opendocumentfellowship.org/petition/
"Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn."
-- Richard Stallman
Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html
public class gcj extends Freedom implements Java { ... }
Index: java/util/InputMismatchException.java
===================================================================
RCS file:
/cvsroot/classpath/classpath/java/util/Attic/InputMismatchException.java,v
retrieving revision 1.1.2.2
diff -u -3 -p -u -r1.1.2.2 InputMismatchException.java
--- java/util/InputMismatchException.java 21 Sep 2005 21:32:40 -0000
1.1.2.2
+++ java/util/InputMismatchException.java 7 Jun 2006 19:11:12 -0000
@@ -38,13 +38,34 @@ exception statement from your version. *
package java.util;
-/** @since 1.5 */
-public class InputMismatchException extends NoSuchElementException
+/**
+ * Thrown when a [EMAIL PROTECTED] 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 ([EMAIL PROTECTED])
+ * @author Andrew John Hughes ([EMAIL PROTECTED])
+ * @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);
signature.asc
Description: Digital signature
