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

Class Overview

An UnmappableCharacterException is thrown when an unmappable character for the given charset is encountered.

Summary

Public Constructors
UnmappableCharacterException(int length)
Constructs a new UnmappableCharacterException.
Public Methods
int getInputLength()
Gets the length of the unmappable character.
String getMessage()
Gets a message describing this exception.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public UnmappableCharacterException (int length)

Constructs a new UnmappableCharacterException.

Parameters
length the length of the unmappable character.

Public Methods

public int getInputLength ()

Gets the length of the unmappable character.

Returns
  • the length of the unmappable character.

public String getMessage ()

Gets a message describing this exception.

Returns
  • a message describing this exception.