Commit 5c09d725 by Michael Koch Committed by Michael Koch

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.

From-SVN: r81003
parent 83ef3f2b
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> 2004-04-22 Jerry Quinn <jlquinn@optonline.net>
* java/awt/Font.java (deriveFont): Implement missing variants. * java/awt/Font.java (deriveFont): Implement missing variants.
......
...@@ -48,10 +48,12 @@ public class IllegalCharsetNameException extends IllegalArgumentException ...@@ -48,10 +48,12 @@ public class IllegalCharsetNameException extends IllegalArgumentException
*/ */
private static final long serialVersionUID = 1457525358470002989L; private static final long serialVersionUID = 1457525358470002989L;
String charsetName; private String charsetName;
/** /**
* Creates the exception * Creates the exception
*
* @param charsetName name of the illegal charset
*/ */
public IllegalCharsetNameException (String charsetName) public IllegalCharsetNameException (String charsetName)
{ {
...@@ -61,6 +63,8 @@ public class IllegalCharsetNameException extends IllegalArgumentException ...@@ -61,6 +63,8 @@ public class IllegalCharsetNameException extends IllegalArgumentException
/** /**
* Retrieves the illegal charset name * Retrieves the illegal charset name
*
* @return the illegal charset name
*/ */
public String getCharsetName () public String getCharsetName ()
{ {
......
...@@ -46,6 +46,8 @@ public class MalformedInputException extends CharacterCodingException ...@@ -46,6 +46,8 @@ public class MalformedInputException extends CharacterCodingException
/** /**
* Creates the exception * Creates the exception
*
* @param inputLength the position of malformed input in the input stream
*/ */
public MalformedInputException (int inputLength) public MalformedInputException (int inputLength)
{ {
...@@ -54,7 +56,9 @@ public class MalformedInputException extends CharacterCodingException ...@@ -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 () public int getInputLength ()
{ {
...@@ -63,6 +67,8 @@ public class MalformedInputException extends CharacterCodingException ...@@ -63,6 +67,8 @@ public class MalformedInputException extends CharacterCodingException
/** /**
* Returns the detail message string of this throwable * Returns the detail message string of this throwable
*
* @return the message
*/ */
public String getMessage () public String getMessage ()
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment