Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public class

UnsupportedCharsetException

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

Class Overview

An UnsupportedCharsetException is thrown when an unsupported charset name is encountered.

Summary

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

Public Constructors

public UnsupportedCharsetException ( String charsetName)

Added in API level 1

Constructs a new UnsupportedCharsetException with the supplied charset name.

Parameters
charsetName the encountered unsupported charset name.

Public Methods

public String getCharsetName ()

Added in API level 1

Gets the encountered unsupported charset name.

Returns
  • the encountered unsupported charset name.