Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
added in API level 1

UnsupportedCharsetException

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.

Summary

Public constructors

UnsupportedCharsetException(String charsetName)

Constructs an instance of this class.

Public methods

String getCharsetName()

Retrieves the name of the unsupported charset.

Inherited methods

Public constructors

UnsupportedCharsetException

added in API level 1
public UnsupportedCharsetException (String charsetName)

Constructs an instance of this class.

Parameters
charsetName String: The name of the unsupported charset

Public methods

getCharsetName

added in API level 1
public String getCharsetName ()

Retrieves the name of the unsupported charset.

Returns
String The name of the unsupported charset