public class UnsupportedCharsetException
extends IllegalArgumentException
| java.lang.Object | |||||
| java.lang.Throwable | |||||
| java.lang.Exception | |||||
| java.lang.RuntimeException | |||||
| java.lang.IllegalArgumentException | |||||
| java.nio.charset.UnsupportedCharsetException | |||||
当没有对请求的字符集提供支持时抛出未经检查的异常。
Public constructors |
|
|---|---|
UnsupportedCharsetException(String charsetName) 构造这个类的一个实例。 |
|
公共方法(Public methods) |
|
|---|---|
String |
getCharsetName() 检索不支持的字符集的名称。 |
继承方法(Inherited methods) |
|
|---|---|
java.lang.Throwable
|
|
java.lang.Object
|
|
UnsupportedCharsetException (String charsetName)
构造这个类的一个实例。
| 参数(Parameters) | |
|---|---|
charsetName |
String: The name of the unsupported charset |
String getCharsetName ()
检索不支持的字符集的名称。
| 返回(Returns) | |
|---|---|
String |
The name of the unsupported charset |