模块 java.base

类 UnsupportedCharsetException

所有已实现的接口:
Serializable

public class UnsupportedCharsetException extends IllegalArgumentException
当请求的字符集不支持时抛出未经检查的异常。
自从:
1.4
参见:
  • 构造方法详细信息

    • UnsupportedCharsetException

      public UnsupportedCharsetException(String  charsetName)
      构造此类的实例。
      参数:
      charsetName - 不支持的字符集的名称
  • 方法详情

    • getCharsetName

      public String  getCharsetName()
      检索不受支持的字符集的名称。
      返回:
      不受支持的字符集的名称