java.nio.charset
public class MalformedInputException extends CharacterCodingException
Constructor and Description |
---|
MalformedInputException(int inputLength)
Creates the exception
|
Modifier and Type | Method and Description |
---|---|
int |
getInputLength()
Retrieves the position of the malformed input in the input stream.
|
String |
getMessage()
Returns the detail message string of this throwable
|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MalformedInputException(int inputLength)
inputLength
- the position of malformed input in the input streampublic int getInputLength()
public String getMessage()
getMessage
in class Throwable