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

UnsupportedCharsetException

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

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

param
charset the encountered unsupported charset name.
since
Android 1.0


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

return
the encountered unsupported charset name.
since
Android 1.0

        return this.charsetName;