Name

UnsupportedEncodingException

Synopsis

This exception signals that an attempt has been made to create an InputStreamReader or an OutputStreamWriter using an encoding that the platform does not support. This class is the same as its J2SE equivalent, apart from its inability to be serialized.

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

Thrown By

InputStreamReader.InputStreamReader(), OutputStreamWriter.OutputStreamWriter(), String.{getBytes(), String()}

Get J2ME in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.