JavaTM 2 Platform
Std. Ed. v1.4.0

Uses of Class
java.nio.charset.CharacterCodingException

Packages that use CharacterCodingException
java.nio.charset Defines charsets, decoders, and encoders, for translating between bytes and Unicode characters. 
 

Uses of CharacterCodingException in java.nio.charset
 

Subclasses of CharacterCodingException in java.nio.charset
 class MalformedInputException
          Checked exception thrown when an input byte sequence is not legal for given charset, or an input character sequence is not a legal sixteen-bit Unicode sequence.
 class UnmappableCharacterException
          Checked exception thrown when an input character (or byte) sequence is valid but cannot be mapped to an output byte (or character) sequence.
 

Methods in java.nio.charset that throw CharacterCodingException
 void CoderResult.throwException()
          Throws an exception appropriate to the result described by this object.
 CharBuffer CharsetDecoder.decode(ByteBuffer in)
          Convenience method that decodes the remaining content of a single input byte buffer into a newly-allocated character buffer.
 ByteBuffer CharsetEncoder.encode(CharBuffer in)
          Convenience method that encodes the remaining content of a single input character buffer into a newly-allocated byte buffer.
 


JavaTM 2 Platform
Std. Ed. v1.4.0

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.