aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/nio/charset/UnmappableCharacterException.java
diff options
context:
space:
mode:
authorMichael Koch <konqueror@gmx.de>2002-11-11 07:12:07 +0000
committerMichael Koch <mkoch@gcc.gnu.org>2002-11-11 07:12:07 +0000
commitac7bc6bb2f59e4445e6f4469f558a40a913edbe1 (patch)
treed90f26e4b6f26d7e2282c42fb959a90ad20d8b86 /libjava/java/nio/charset/UnmappableCharacterException.java
parentdba90b0cc605cde06371401c8abf44fc367b1b36 (diff)
downloadgcc-ac7bc6bb2f59e4445e6f4469f558a40a913edbe1.zip
gcc-ac7bc6bb2f59e4445e6f4469f558a40a913edbe1.tar.gz
gcc-ac7bc6bb2f59e4445e6f4469f558a40a913edbe1.tar.bz2
CharacterCodingException.java: This class must be public.
2002-11-11 Michael Koch <konqueror@gmx.de> * java/nio/charset/CharacterCodingException.java: This class must be public. * java/nio/charset/CoderMalfunctionError.java: This class must be public. * java/nio/charset/CodingErrorAction.java: This class must be public. * java/nio/charset/IllegalCharsetNameException.java: This class must be public, better implementation. * java/nio/charset/MalformedInputException.java: This class must be public, better implementation. * java/nio/charset/UnmappableCharacterException.java: This class must be public, better implementation. * java/nio/charset/UnsupportedCharsetException.java: This class must be public, better implementation. From-SVN: r59012
Diffstat (limited to 'libjava/java/nio/charset/UnmappableCharacterException.java')
-rw-r--r--libjava/java/nio/charset/UnmappableCharacterException.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/libjava/java/nio/charset/UnmappableCharacterException.java b/libjava/java/nio/charset/UnmappableCharacterException.java
index f1714b8..5ae4930 100644
--- a/libjava/java/nio/charset/UnmappableCharacterException.java
+++ b/libjava/java/nio/charset/UnmappableCharacterException.java
@@ -37,7 +37,10 @@ exception statement from your version. */
package java.nio.charset;
-class UnmappableCharacterException extends CharacterCodingException
+/**
+ * @since 1.4
+ */
+public class UnmappableCharacterException extends CharacterCodingException
{
private int inputLength;
@@ -63,7 +66,6 @@ class UnmappableCharacterException extends CharacterCodingException
*/
public String getMessage ()
{
- // FIXME: I think this is not correct
- return "";
+ return "Input length = " + inputLength;
}
}