Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
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