Java in a Nutshell

Previous Chapter 24
The java.io Package
Next
 

24.66 java.io.UnsupportedEncodingException (JDK 1.1)

This exception signals that a requested character encoding is not supported by the current Java Virtual Machine.

public class UnsupportedEncodingException extends IOException {
    // Public Constructors
            public UnsupportedEncodingException();
            public UnsupportedEncodingException(String s);
}

Hierarchy:

Object->Throwable(Serializable)->Exception->IOException->UnsupportedEncodingException

Thrown By:

ByteArrayOutputStream.toString(), InputStreamReader(), OutputStreamWriter(), String(), String.getBytes()


Previous Home Next
java.io.SyncFailedException (JDK 1.1) Book Index java.io.UTFDataFormatException (JDK 1.0)

Java in a Nutshell Java Language Reference Java AWT Java Fundamental Classes Exploring Java