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 detail message which was provided when this
Throwable was created. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic UnmappableCharacterException(int length)
UnmappableCharacterException.length - the length of the unmappable character.public int getInputLength()
public String getMessage()
ThrowableThrowable was created. Returns null if no message was
provided at creation time.getMessage in class Throwable