| java.lang.Object | |||||
| ↳ | java.lang.Throwable | ||||
| ↳ | java.lang.Exception | ||||
| ↳ | java.io.IOException | ||||
| ↳ | java.nio.charset.CharacterCodingException | ||||
| ↳ | java.nio.charset.MalformedInputException | ||||
A
MalformedInputException
is thrown when a malformed input is
encountered, for example if a byte sequence is illegal for the given charset.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Constructs a new
MalformedInputException
.
|
||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Gets the length of the malformed input.
|
||||||||||
|
|
Returns the detail message which was provided when this
Throwable
was created.
|
||||||||||
|
[Expand]
Inherited Methods
|
|||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Throwable
|
|||||||||||
From class
java.lang.Object
|
|||||||||||
Constructs a new
MalformedInputException
.
| length | the length of the malformed input. |
|---|
Gets the length of the malformed input.
Returns the detail message which was provided when this
Throwable
was created. Returns
null
if no message was
provided at creation time.