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

UnsupportedCharsetException

public class UnsupportedCharsetException extends IllegalArgumentException
Unchecked exception thrown when no support is available for a requested charset.
version
1.2, 01/09/17
since
1.4

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

param
charsetName The name of the unsupported charset

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

return
The name of the unsupported charset

        return charsetName;