java.nio.charset

Class IllegalCharsetNameException

public class IllegalCharsetNameException extends IllegalArgumentException

Since: 1.4

Constructor Summary
IllegalCharsetNameException(String charsetName)
Creates the exception
Method Summary
StringgetCharsetName()
Retrieves the illegal charset name

Constructor Detail

IllegalCharsetNameException

public IllegalCharsetNameException(String charsetName)
Creates the exception

Parameters: charsetName name of the illegal charset

Method Detail

getCharsetName

public String getCharsetName()
Retrieves the illegal charset name

Returns: the illegal charset name