UnsupportedCharsetException - JRE Emulation | JRE Emulation
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

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
[Expand]
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public UnsupportedCharsetException (String charsetName)

Constructs an instance of this class.

Parameters
charsetName The name of the unsupported charset

Public Methods

public String getCharsetName ()

Retrieves the name of the unsupported charset.

Returns
  • The name of the unsupported charset