public
class
UnsupportedCharsetException
extends IllegalArgumentException
java.lang.Object | |||||
↳ | java.lang.Throwable | ||||
↳ | java.lang.Exception | ||||
↳ | java.lang.RuntimeException | ||||
↳ | java.lang.IllegalArgumentException | ||||
↳ | java.nio.charset.UnsupportedCharsetException |
Unchecked exception thrown when no support is available for a requested charset.
Public constructors | |
---|---|
UnsupportedCharsetException(String charsetName)
Constructs an instance of this class. |
Public methods | |
---|---|
String
|
getCharsetName()
Retrieves the name of the unsupported charset. |
Inherited methods | |
---|---|
From
class
java.lang.Throwable
| |
From
class
java.lang.Object
|
UnsupportedCharsetException (String charsetName)
Constructs an instance of this class.
Parameters | |
---|---|
charsetName |
String :
The name of the unsupported charset
|
String getCharsetName ()
Retrieves the name of the unsupported charset.
Returns | |
---|---|
String |
The name of the unsupported charset |