CharacterCodingException

  • CharacterCodingException is a checked exception indicating an error during character encoding or decoding.

  • It's a subclass of IOException and has two direct subclasses: MalformedInputException and UnmappableCharacterException.

  • MalformedInputException signals an illegal input byte or character sequence for a given charset.

  • UnmappableCharacterException is thrown when a valid input sequence cannot be mapped to an output sequence.

public class CharacterCodingException extends IOException
Known Direct Subclasses

Checked exception thrown when a character encoding or decoding error occurs.

Public Constructor Summary

CharacterCodingException()
Constructs an instance of this class.

Inherited Method Summary

Public Constructors

public CharacterCodingException ()

Constructs an instance of this class.