Most visited

Recently visited

Added in API level 1

UnmappableCharacterException

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


当输入字符(或字节)序列有效但不能映射到输出字节(或字符)序列时检查异常。

Summary

Public constructors

UnmappableCharacterException(int inputLength)

Public methods

int getInputLength()
String getMessage()

返回此throwable的详细消息字符串。

Inherited methods

From class java.lang.Throwable
From class java.lang.Object

Public constructors

UnmappableCharacterException

Added in API level 1
UnmappableCharacterException (int inputLength)

Parameters
inputLength int

Public methods

getInputLength

Added in API level 1
int getInputLength ()

Returns
int

getMessage

Added in API level 1
String getMessage ()

返回此throwable的详细消息字符串。

Returns
String the detail message string of this Throwable instance (which may be null).

Hooray!