Most visited

Recently visited

Added in API level 1

UnsupportedCharsetException

public class UnsupportedCharsetException
extends IllegalArgumentException

java.lang.Object
    java.lang.Throwable
      java.lang.Exception
        java.lang.RuntimeException
          java.lang.IllegalArgumentException
            java.nio.charset.UnsupportedCharsetException


当没有对请求的字符集提供支持时抛出未经检查的异常。

摘要(Summary)

Public constructors

UnsupportedCharsetException(String charsetName)

构造这个类的一个实例。

公共方法(Public methods)

String getCharsetName()

检索不支持的字符集的名称。

继承方法(Inherited methods)

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

Public constructors

UnsupportedCharsetException

Added in API level 1
UnsupportedCharsetException (String charsetName)

构造这个类的一个实例。

参数(Parameters)
charsetName String: The name of the unsupported charset

公共方法(Public methods)

getCharsetName

Added in API level 1
String getCharsetName ()

检索不支持的字符集的名称。

返回(Returns)
String The name of the unsupported charset

Hooray!