Java in a Nutshell, 5th Edition [Electronic resources]

نسخه متنی -صفحه : 1191/ 478
نمايش فراداده

UnsupportedCharsetExceptionjava.nio.charset

Java 1.4serializable unchecked

Signals that the requested charset is not supported on the current platform. This exception is thrown by Charset.forName( ) when no Charset object can be obtained for the named charset. See also Charset.isSupported( ).

Figure 13-53. java.nio.charset.UnsupportedCharsetException

public class

UnsupportedCharsetException extends IllegalArgumentException { // Public Constructors public

UnsupportedCharsetException (String

charsetName ); // Public Instance Methods public String

getCharsetName ( ); }