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:
committed by
Michael Koch
parent
83ef3f2bae
commit
5c09d725b1
@@ -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 ()
|
||||
{
|
||||
|
||||
@@ -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 ()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user