Skip to content

Most visited

Recently visited

navigation

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

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

Public constructors

UnsupportedCharsetException

Added in API level 1
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
String getCharsetName ()

Retrieves the name of the unsupported charset.

Returns
String The name of the unsupported charset
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.