Name

UnmappableCharacterException

Synopsis

Signals that input to the CharsetDecoder.decode( ) or CharsetEncoder.encode( ) method contained a character or byte sequence that is not mappable in the specified charset.

java.nio.charset.UnmappableCharacterException

Figure 13-52. java.nio.charset.UnmappableCharacterException

public class UnmappableCharacterException extends CharacterCodingException {
// Public Constructors
     public UnmappableCharacterException(int inputLength);  
// Public Instance Methods
     public int getInputLength( );  
// Public Methods Overriding Throwable
     public String getMessage( );  
}

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.