Added in API level 1

IllegalCharsetNameException

open class IllegalCharsetNameException : IllegalArgumentException
kotlin.Any
   ↳ kotlin.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

Constructs an instance of this class.

Public methods
open String!

Retrieves the illegal charset name.

Public constructors

IllegalCharsetNameException

Added in API level 1
IllegalCharsetNameException(charsetName: String!)

Constructs an instance of this class.

Parameters
charsetName String!: The illegal charset name

Public methods

getCharsetName

Added in API level 1
open fun getCharsetName(): String!

Retrieves the illegal charset name.

Return
String! The illegal charset name