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

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

Public Constructors

public IllegalCharsetNameException (String charsetName)

Constructs an instance of this class.

Parameters
charsetName The illegal charset name

Public Methods

public String getCharsetName ()

Retrieves the illegal charset name.

Returns
  • The illegal charset name