Spec-Zone .ru
спецификации, руководства, описания, API
Please note that the specifications and other information contained herein are not final and are subject to change. The information is being made available to you solely for purpose of evaluation.

Java™ Platform
Standard Ed. 7

DRAFT ea-b118

Uses of Class
java.nio.charset.CharacterCodingException

Packages that use CharacterCodingException
Package Description
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
Modifier and Type Class and Description
 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
Modifier and Type Method and Description
 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.
 void CoderResult.throwException()
          Throws an exception appropriate to the result described by this object.
 


Java™ Platform
Standard Ed. 7

DRAFT ea-b118

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

Copyright © 1993, 2010, Oracle Corporation. All rights reserved.
DRAFT ea-b118

Scripting on this page tracks web page traffic, but does not change the content in any way.