Added in API level 1
IllegalCharsetNameException
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.
Summary
Public constructors | |
---|---|
IllegalCharsetNameException(String charsetName)
Constructs an instance of this class. |
Public methods | |
---|---|
String
|
getCharsetName()
Retrieves the illegal charset name. |
Inherited methods | |
---|---|
Public constructors
IllegalCharsetNameException
Added in API level 1
public IllegalCharsetNameException (String charsetName)
Constructs an instance of this class.
Parameters | |
---|---|
charsetName |
String : The illegal charset name |
Public methods
getCharsetName
Added in API level 1
public String getCharsetName ()
Retrieves the illegal charset name.
Returns | |
---|---|
String |
The illegal charset name |