summaryrefslogtreecommitdiff
path: root/libjava/java/nio
diff options
context:
space:
mode:
authormkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2004-04-22 06:41:36 +0000
committermkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2004-04-22 06:41:36 +0000
commitb5903b25b5d5d5ddd85d84e579ce20f8c5137f60 (patch)
tree553549e42f152a39421cdc06e0ec1bc4b61d3b61 /libjava/java/nio
parentfeb0f3815cd0afe893bb3930c6ddb77f4b7bcc5d (diff)
downloadgcc-b5903b25b5d5d5ddd85d84e579ce20f8c5137f60.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81003 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/nio')
-rw-r--r--libjava/java/nio/charset/IllegalCharsetNameException.java6
-rw-r--r--libjava/java/nio/charset/MalformedInputException.java8
2 files changed, 12 insertions, 2 deletions
diff --git a/libjava/java/nio/charset/IllegalCharsetNameException.java b/libjava/java/nio/charset/IllegalCharsetNameException.java
index f46e63aa14f..8ee9c702e37 100644
--- a/libjava/java/nio/charset/IllegalCharsetNameException.java
+++ b/libjava/java/nio/charset/IllegalCharsetNameException.java
@@ -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 ()
{
diff --git a/libjava/java/nio/charset/MalformedInputException.java b/libjava/java/nio/charset/MalformedInputException.java
index 692eed60f94..678c5bc64f9 100644
--- a/libjava/java/nio/charset/MalformedInputException.java
+++ b/libjava/java/nio/charset/MalformedInputException.java
@@ -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 ()
{