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