public class MalformedInputException
extends CharacterCodingException
| java.lang.Object | |||||
| java.lang.Throwable | |||||
| java.lang.Exception | |||||
| java.io.IOException | |||||
| java.nio.charset.CharacterCodingException | |||||
| java.nio.charset.MalformedInputException | |||||
当输入字节序列对于给定的字符集不合法,或者输入字符序列不是合法的16位Unicode序列时,会检查异常。
Public constructors |
|
|---|---|
MalformedInputException(int inputLength) |
|
公共方法(Public methods) |
|
|---|---|
int |
getInputLength() |
String |
getMessage() 返回此throwable的详细消息字符串。 |
继承方法(Inherited methods) |
|
|---|---|
java.lang.Throwable
|
|
java.lang.Object
|
|
MalformedInputException (int inputLength)
| 参数(Parameters) | |
|---|---|
inputLength |
int
|
String getMessage ()
返回此throwable的详细消息字符串。
| 返回(Returns) | |
|---|---|
String |
the detail message string of this Throwable instance (which may be null). |