Use is subject to License Terms. Your use of this web site or any of its contents or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. and Motorola, Inc. All rights reserved.

MID Profile

Uses of Class
java.lang.Exception

Packages that use Exception
java.io Provides classes for input and output through data streams. 
java.lang Provides classes that are fundamental to the Java programming language. 
java.util Contains the collection classes, and the date and time facilities. 
javax.microedition.io Classes for the Generic Connection framework. 
javax.microedition.media The MIDP 2.0 Media API is a directly compatible building block of the Mobile Media API (JSR-135) specification. 
javax.microedition.midlet The MIDlet package defines Mobile Information Device Profile applications and the interactions between the application and the environment in which the application runs. 
javax.microedition.pki Certificates are used to authenticate information for secure Connections. 
javax.microedition.rms The Mobile Information Device Profile provides a mechanism for MIDlets to persistently store data and later retrieve it. 
 

Uses of Exception in java.io
 

Subclasses of Exception in java.io
 class EOFException
          Signals that an end of file or end of stream has been reached unexpectedly during input.
 class InterruptedIOException
          Signals that an I/O operation has been interrupted.
 class IOException
          Signals that an I/O exception of some sort has occurred.
 class UnsupportedEncodingException
          The Character Encoding is not supported.
 class UTFDataFormatException
          Signals that a malformed UTF-8 string has been read in a data input stream or by any class that implements the data input interface.
 

Uses of Exception in java.lang
 

Subclasses of Exception in java.lang
 class ArithmeticException
          Thrown when an exceptional arithmetic condition has occurred.
 class ArrayIndexOutOfBoundsException
          Thrown to indicate that an array has been accessed with an illegal index.
 class ArrayStoreException
          Thrown to indicate that an attempt has been made to store the wrong type of object into an array of objects.
 class ClassCastException
          Thrown to indicate that the code has attempted to cast an object to a subclass of which it is not an instance.
 class ClassNotFoundException
          Thrown when an application tries to load in a class through its string name using the forName method in class Class but no definition for the class with the specified name could be found.
 class IllegalAccessException
          Thrown when an application tries to load in a class, but the currently executing method does not have access to the definition of the specified class, because the class is not public and in another package.
 class IllegalArgumentException
          Thrown to indicate that a method has been passed an illegal or inappropriate argument.
 class IllegalMonitorStateException
          Thrown to indicate that a thread has attempted to wait on an object's monitor or to notify other threads waiting on an object's monitor without owning the specified monitor.
 class IllegalStateException
          Signals that a method has been invoked at an illegal or inappropriate time.
 class IllegalThreadStateException
          Thrown to indicate that a thread is not in an appropriate state for the requested operation.
 class IndexOutOfBoundsException
          Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range.
 class InstantiationException
          Thrown when an application tries to create an instance of a class using the newInstance method in class Class, but the specified class object cannot be instantiated because it is an interface or is an abstract class.
 class InterruptedException
          Thrown when a thread is waiting, sleeping, or otherwise paused for a long time and another thread interrupts it.
 class NegativeArraySizeException
          Thrown if an application tries to create an array with negative size.
 class NullPointerException
          Thrown when an application attempts to use null in a case where an object is required.
 class NumberFormatException
          Thrown to indicate that the application has attempted to convert a string to one of the numeric types, but that the string does not have the appropriate format.
 class RuntimeException
          RuntimeException is the superclass of those exceptions that can be thrown during the normal operation of the Java Virtual Machine.
 class SecurityException
          Thrown by the system to indicate a security violation.
 class StringIndexOutOfBoundsException
          Thrown by the charAt method in class String and by other String methods to indicate that an index is either negative or greater than or equal to the size of the string.
 

Uses of Exception in java.util
 

Subclasses of Exception in java.util
 class EmptyStackException
          Thrown by methods in the Stack class to indicate that the stack is empty.
 class NoSuchElementException
          Thrown by the nextElement method of an Enumeration to indicate that there are no more elements in the enumeration.
 

Uses of Exception in javax.microedition.io
 

Subclasses of Exception in javax.microedition.io
 class ConnectionNotFoundException
          This class is used to signal that a connection target cannot be found, or the protocol type is not supported.
 

Uses of Exception in javax.microedition.media
 

Subclasses of Exception in javax.microedition.media
 class MediaException
          A MediaException indicates an unexpected error condition in a method.
 

Uses of Exception in javax.microedition.midlet
 

Subclasses of Exception in javax.microedition.midlet
 class MIDletStateChangeException
          Signals that a requested MIDlet state change failed.
 

Uses of Exception in javax.microedition.pki
 

Subclasses of Exception in javax.microedition.pki
 class CertificateException
          The CertificateException encapsulates an error that occurred while a Certificate is being used.
 

Uses of Exception in javax.microedition.rms
 

Subclasses of Exception in javax.microedition.rms
 class InvalidRecordIDException
          Thrown to indicate an operation could not be completed because the record ID was invalid.
 class RecordStoreException
          Thrown to indicate a general exception occurred in a record store operation.
 class RecordStoreFullException
          Thrown to indicate an operation could not be completed because the record store system storage is full.
 class RecordStoreNotFoundException
          Thrown to indicate an operation could not be completed because the record store could not be found.
 class RecordStoreNotOpenException
          Thrown to indicate that an operation was attempted on a closed record store.
 


MID Profile

Copyright © 2006 Sun Microsystems, Inc. and Motorola, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 118 specification.