Class UnmappableCharacterException

All Implemented Interfaces:
Serializable

public class UnmappableCharacterException
extends CharacterCodingException
An UnmappableCharacterException is thrown when an unmappable character for the given charset is encountered.
See Also:
Serialized Form
  • Constructor Details

    • UnmappableCharacterException

      public UnmappableCharacterException​(int length)
      Constructs a new UnmappableCharacterException.
      Parameters:
      length - the length of the unmappable character.
  • Method Details

    • getInputLength

      public int getInputLength()
      Returns the length of the unmappable character.
    • getMessage

      public String getMessage()
      Description copied from class: Throwable
      Returns the detail message which was provided when this Throwable was created. Returns null if no message was provided at creation time.
      Overrides:
      getMessage in class Throwable