public class UnmappableCharacterException 
     extends CharacterCodingException 
| java.lang.Object | |||||
| ↳ | java.lang.Throwable | ||||
| ↳ | java.lang.Exception | ||||
| ↳ | java.io.IOException | ||||
| ↳ | java.nio.charset.CharacterCodingException | ||||
| ↳ | java.nio.charset.UnmappableCharacterException | ||||
当输入字符(或字节)序列有效但不能映射到输出字节(或字符)序列时检查异常。
| Public constructors | |
|---|---|
|  UnmappableCharacterException(int inputLength)  | |
| Public methods | |
|---|---|
|  int |  getInputLength()  | 
|  String |  getMessage() 返回此throwable的详细消息字符串。 | 
| Inherited methods | |
|---|---|
|  From class  java.lang.Throwable  | |
|  From class  java.lang.Object  | |
UnmappableCharacterException (int inputLength)
| Parameters | |
|---|---|
| inputLength | int | 
String getMessage ()
返回此throwable的详细消息字符串。
| Returns | |
|---|---|
| String | the detail message string of this Throwableinstance (which may benull). |