to top
Android APIs
public class

IllegalCharsetNameException

extends IllegalArgumentException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ java.lang.IllegalArgumentException
           ↳ java.nio.charset.IllegalCharsetNameException

Class Overview

An IllegalCharsetNameException is thrown when an illegal charset name is encountered.

Summary

Public Constructors
IllegalCharsetNameException(String charsetName)
Constructs a new IllegalCharsetNameException with the supplied charset name.
Public Methods
String getCharsetName()
Returns the encountered illegal charset name.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public IllegalCharsetNameException (String charsetName)

Since: API Level 1

Constructs a new IllegalCharsetNameException with the supplied charset name.

Parameters
charsetName the encountered illegal charset name.

Public Methods

public String getCharsetName ()

Since: API Level 1

Returns the encountered illegal charset name.