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

public Class UnsupportedCharsetException

extends IllegalArgumentException
Class Inheritance

Unchecked exception thrown when no support is available for a requested charset.
Since
1.4

Field Summary

Modifier and TypeField and Description
private String
charsetName

The name of the unsupported charset.

private static final long

Constructor Summary

AccessConstructor and Description
public
UnsupportedCharsetException(String
The name of the unsupported charset
charsetName
)

Constructs an instance of this class.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

The name of the unsupported charset
getCharsetName
()

Retrieves the name of the unsupported charset.

Field Detail

charsetNameback to summary
private String charsetName

The name of the unsupported charset.

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.IllegalArgumentException.serialVersionUID.

Annotations
@Serial

Constructor Detail

UnsupportedCharsetExceptionback to summary
public UnsupportedCharsetException(String charsetName)

Constructs an instance of this class.

Parameters
charsetName:String

The name of the unsupported charset

Method Detail

getCharsetNameback to summary
public String getCharsetName()

Retrieves the name of the unsupported charset.

Returns:String

The name of the unsupported charset