Most visited

Recently visited

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

From class java.lang.Throwable
From class java.lang.Object

Public constructors

IllegalCharsetNameException

Added in API level 1
IllegalCharsetNameException (String charsetName)

Constructs an instance of this class.

Parameters
charsetName String: The illegal charset name

Public methods

getCharsetName

Added in API level 1
String getCharsetName ()

Retrieves the illegal charset name.

Returns
String The illegal charset name

Hooray!