public
class
IllegalCharsetNameException
extends IllegalArgumentException
java.lang.Object | |||||
↳ | java.lang.Throwable | ||||
↳ | java.lang.Exception | ||||
↳ | java.lang.RuntimeException | ||||
↳ | java.lang.IllegalArgumentException | ||||
↳ | java.nio.charset.IllegalCharsetNameException |
Unchecked exception thrown when a string that is not a legal charset name is used as such.
Public constructors | |
---|---|
IllegalCharsetNameException(String charsetName)
Constructs an instance of this class. |
Public methods | |
---|---|
String
|
getCharsetName()
Retrieves the illegal charset name. |
Inherited methods | |
---|---|
From
class
java.lang.Throwable
| |
From
class
java.lang.Object
|
IllegalCharsetNameException (String charsetName)
Constructs an instance of this class.
Parameters | |
---|---|
charsetName |
String :
The illegal charset name
|
String getCharsetName ()
Retrieves the illegal charset name.
Returns | |
---|---|
String |
The illegal charset name |