UnmappableCharacterException

public class UnmappableCharacterException extends CharacterCodingException

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

Public Constructor Summary

UnmappableCharacterException(int inputLength)
Constructs an UnmappableCharacterException with the given length.

Public Method Summary

int
getInputLength()
Returns the length of the input.
String
getMessage()
Returns the message.

Inherited Method Summary

Public Constructors

public UnmappableCharacterException (int inputLength)

Constructs an UnmappableCharacterException with the given length.

Parameters
inputLength the length of the input

Public Methods

public int getInputLength ()

Returns the length of the input.

Returns
  • the length of the input

public String getMessage ()

Returns the message.

Returns
  • the message