public class UnmappableCharacterException extends CharacterCodingException
UnmappableCharacterException
is thrown when an unmappable
character for the given charset is encountered.Constructor and Description |
---|
UnmappableCharacterException(int length)
Constructs a new
UnmappableCharacterException . |
Modifier and Type | Method and Description |
---|---|
int |
getInputLength()
Returns the length of the unmappable character.
|
String |
getMessage()
Returns the extra information message which was provided when this
Throwable was created. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UnmappableCharacterException(int length)
UnmappableCharacterException
.length
- the length of the unmappable character.public int getInputLength()
public String getMessage()
Throwable
Throwable
was created. Returns null
if no message was
provided at creation time.getMessage
in class Throwable
Throwable
's detail message.