Team LiB
Previous Section Next Section

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( ); 
 
}

    Team LiB
    Previous Section Next Section