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
This commit is contained in:
Michael Koch 2004-04-22 06:41:36 +00:00 committed by Michael Koch
parent 83ef3f2bae
commit 5c09d725b1
3 changed files with 23 additions and 2 deletions

View 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.

View 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 ()
{

View 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 ()
{