Added in API level 1

UnmappableCharacterException

public class UnmappableCharacterException
extends CharacterCodingException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.io.IOException
         ↳ java.nio.charset.CharacterCodingException
           ↳ java.nio.charset.UnmappableCharacterException


Checked exception thrown when an input character (or byte) sequence is valid but cannot be mapped to an output byte (or character) sequence.

Summary

Public constructors

UnmappableCharacterException(int inputLength)

Constructs an UnmappableCharacterException with the given length.

Public methods

int getInputLength()

Returns the length of the input.

String getMessage()

Returns the message.

Inherited methods

Public constructors

UnmappableCharacterException

Added in API level 1
public UnmappableCharacterException (int inputLength)

Constructs an UnmappableCharacterException with the given length.

Parameters
inputLength int: the length of the input

Public methods

getInputLength

Added in API level 1
public int getInputLength ()

Returns the length of the input.

Returns
int the length of the input

getMessage

Added in API level 1
public String getMessage ()

Returns the message.

Returns
String the message