Uses of Class
java.nio.charset.CharacterCodingException
| Package | Description |
|---|---|
| java.nio.charset |
-
Uses of CharacterCodingException in java.nio.charset
Subclasses of CharacterCodingException in java.nio.charset Modifier and Type Class Description classMalformedInputExceptionAMalformedInputExceptionis thrown when a malformed input is encountered, for example if a byte sequence is illegal for the given charset.classUnmappableCharacterExceptionAnUnmappableCharacterExceptionis thrown when an unmappable character for the given charset is encountered.Methods in java.nio.charset that throw CharacterCodingException Modifier and Type Method Description CharBufferCharsetDecoder. decode(ByteBuffer in)This is a facade method for the decoding operation.ByteBufferCharsetEncoder. encode(CharBuffer in)This is a facade method for the encoding operation.voidCoderResult. throwException()Throws an exception corresponding to this coder result.