APIdia Launch Partner
Top Description Fields Constructors Methods
java.nio.charset

public Class IllegalCharsetNameException

extends IllegalArgumentException
Class Inheritance

Unchecked exception thrown when a string that is not a legal charset name is used as such.
Since
1.4

Field Summary

Modifier and TypeField and Description
private String
charsetName

The illegal charset name.

private static final long

Constructor Summary

AccessConstructor and Description
public
IllegalCharsetNameException(String
The illegal charset name
charsetName
)

Constructs an instance of this class.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

The illegal charset name
getCharsetName
()

Retrieves the illegal charset name.

Field Detail

charsetNameback to summary
private String charsetName

The illegal charset name.

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.IllegalArgumentException.serialVersionUID.

Annotations
@Serial

Constructor Detail

IllegalCharsetNameExceptionback to summary
public IllegalCharsetNameException(String charsetName)

Constructs an instance of this class.

Parameters
charsetName:String

The illegal charset name

Method Detail

getCharsetNameback to summary
public String getCharsetName()

Retrieves the illegal charset name.

Returns:String

The illegal charset name