FileDocCategorySizeDatePackage
IllegalCharsetNameException.javaAPI DocAndroid 1.5 API2066Wed May 06 22:41:04 BST 2009java.nio.charset

IllegalCharsetNameException

public class IllegalCharsetNameException extends IllegalArgumentException
An {@code IllegalCharsetNameException} is thrown when an illegal charset name is encountered.
since
Android 1.0

Fields Summary
private static final long
serialVersionUID
private String
charsetName
Constructors Summary
public IllegalCharsetNameException(String charset)
Constructs a new {@code IllegalCharsetNameException} with the supplied charset name.

param
charset the encountered illegal charset name.
since
Android 1.0


                                         
       
        // niochar.0F=The illegal charset name is "{0}".
        super(Messages.getString("niochar.0F", charset)); //$NON-NLS-1$
        this.charsetName = charset;
    
Methods Summary
public java.lang.StringgetCharsetName()
Gets the encountered illegal charset name.

return
the encountered illegal charset name.
since
Android 1.0

        return this.charsetName;