2004-04-22 Michael Koch <konqueror@gmx.de>
authorMichael Koch <konqueror@gmx.de>
Thu, 22 Apr 2004 06:41:36 +0000 (06:41 +0000)
committerMichael Koch <mkoch@gcc.gnu.org>
Thu, 22 Apr 2004 06:41:36 +0000 (06:41 +0000)
* java/nio/charset/IllegalCharsetNameException.java
(charsetName): Made private.
(IllegalCharsetNameException): Added @param tag to javadoc.
(getCharsetName): Added @return tag to javadoc.
* java/nio/charset/MalformedInputException.java
(MalformedInputException): Added @param tag to javadoc.
(getInputLength): Revised method description, added @return tag.
(getMessage): Added @return tag.

From-SVN: r81003

libjava/ChangeLog
libjava/java/nio/charset/IllegalCharsetNameException.java
libjava/java/nio/charset/MalformedInputException.java

index ae285939f4208c1004bd54be5a0dcb6a3f70cd49..20917b24220b0ab627303c836359620f3716d6e8 100644 (file)
@@ -1,3 +1,14 @@
+2004-04-22  Michael Koch  <konqueror@gmx.de>
+
+       * java/nio/charset/IllegalCharsetNameException.java
+       (charsetName): Made private.
+       (IllegalCharsetNameException): Added @param tag to javadoc.
+       (getCharsetName): Added @return tag to javadoc.
+       * java/nio/charset/MalformedInputException.java
+       (MalformedInputException): Added @param tag to javadoc.
+       (getInputLength): Revised method description, added @return tag.
+       (getMessage): Added @return tag.
+
 2004-04-22  Jerry Quinn  <jlquinn@optonline.net>
 
        * java/awt/Font.java (deriveFont): Implement missing variants.
index f46e63aa14fdb07efde1920bf2ff1134cdce5214..8ee9c702e371e94751b9d7f0ee3ae5e091d2a0f2 100644 (file)
@@ -48,10 +48,12 @@ public class IllegalCharsetNameException extends IllegalArgumentException
    */
   private static final long serialVersionUID = 1457525358470002989L;
   
-  String charsetName;
+  private String charsetName;
   
   /**
    * Creates the exception
+   *
+   * @param charsetName name of the illegal charset
    */
   public IllegalCharsetNameException (String charsetName)
   {
@@ -61,6 +63,8 @@ public class IllegalCharsetNameException extends IllegalArgumentException
 
   /**
    * Retrieves the illegal charset name
+   *
+   * @return the illegal charset name
    */
   public String getCharsetName ()
   {
index 692eed60f942b6aba1aee1e2e77e870ed96dc403..678c5bc64f946f4657b68b1dc46e9d06dbf6448f 100644 (file)
@@ -46,6 +46,8 @@ public class MalformedInputException extends CharacterCodingException
   
   /**
    * Creates the exception
+   *
+   * @param inputLength the position of malformed input in the input stream
    */
   public MalformedInputException (int inputLength)
   {
@@ -54,7 +56,9 @@ public class MalformedInputException extends CharacterCodingException
   }
 
   /**
-   * Retrieves the illegal charset name
+   * Retrieves the position of the malformed input in the input stream.
+   *
+   * @return the position
    */
   public int getInputLength ()
   {
@@ -63,6 +67,8 @@ public class MalformedInputException extends CharacterCodingException
 
   /**
    * Returns the detail message string of this throwable
+   *
+   * @return the message
    */
   public String getMessage ()
   {