English | Site Directory

Android - An Open Handset Alliance Project

java.nio.charset
public class

java.nio.charset.UnsupportedCharsetException

java.lang.Object
java.lang.Throwable Serializable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
java.nio.charset.UnsupportedCharsetException

Thrown when an unsupported charset name is encountered.

Summary

Public Constructors

          UnsupportedCharsetException(String charset)
Constructs an instance of this exception with the supplied charset name.

Public Methods

        String  getCharsetName()
Gets the encountered unsupported charset name.
Methods inherited from class java.lang.Throwable
Methods inherited from class java.lang.Object

Details

Public Constructors

public UnsupportedCharsetException(String charset)

Constructs an instance of this exception with the supplied charset name.

Parameters

charset the encountered unsupported charset name

Public Methods

public String getCharsetName()

Gets the encountered unsupported charset name.

Returns

  • the encountered unsupported charset name
Build m5-rc15g - 14 May 2008 12:50