java.nio.charset.MalformedInputException
Thrown when a malformed input is encountered, for example, a byte sequence is
illegal for the given charset.
Summary
Public Constructors
Public Methods
fillInStackTrace,
getCause,
getLocalizedMessage,
getMessage,
getStackTrace,
initCause,
printStackTrace,
printStackTrace,
printStackTrace,
setStackTrace,
toString
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Public Constructors
public
MalformedInputException(int length)
Constructs an instance of this exception.
Parameters
length
| the length of the malformed input
|
Public Methods
public
int
getInputLength()
Gets the length of the malformed input.
Returns
- the length of the malformed input
public
String
getMessage()
Gets a message describing this exception.
Returns
- a message describing this exception