FileDocCategorySizeDatePackage
IllegalCharsetNameException.javaAPI DocJava SE 5 API1152Fri Aug 26 16:50:36 BST 2005java.nio.charset

IllegalCharsetNameException

public class IllegalCharsetNameException extends IllegalArgumentException
Unchecked exception thrown when a string that is not a legal charset name is used as such.
version
1.2, 01/09/17
since
1.4

Fields Summary
private String
charsetName
Constructors Summary
public IllegalCharsetNameException(String charsetName)
Constructs an instance of this class.

param
charsetName The illegal charset name

        super(String.valueOf(charsetName));
	this.charsetName = charsetName;
    
Methods Summary
public java.lang.StringgetCharsetName()
Retrieves the illegal charset name.

return
The illegal charset name

        return charsetName;