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.

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

MID Profile

Uses of Class
java.lang.Throwable

Packages that use Throwable
java.io Provides for system input and output through data streams. 
java.lang MID Profile Language Classes included from Java 2 Standard Edition. 
java.util MID Profile Utility Classes included from Java 2 Standard Edition. 
javax.microedition.io MID Profile includes networking support based on the GenericConnection framework from the Connected Limited Device Configuration
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.rms The Mobile Information Device Profile provides a mechanism for MIDlets to persistently store data and later retrieve it. 
 

Uses of Throwable in java.io
 

Subclasses of Throwable in java.io
 interface EOFException
          Signals that an end of file or end of stream has been reached unexpectedly during input.
 interface InterruptedIOException
          Signals that an I/O operation has been interrupted.
 interface IOException
          Signals that an I/O exception of some sort has occurred.
 interface UnsupportedEncodingException
          The Character Encoding is not supported.
 interface 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 Throwable in java.lang
 

Subclasses of Throwable in java.lang
 interface ArithmeticException
          Thrown when an exceptional arithmetic condition has occurred.
 interface ArrayIndexOutOfBoundsException
          Thrown to indicate that an array has been accessed with an illegal index.
 interface ArrayStoreException
          Thrown to indicate that an attempt has been made to store the wrong type of object into an array of objects.
 interface ClassCastException
          Thrown to indicate that the code has attempted to cast an object to a subclass of which it is not an instance.
 interface ClassNotFoundException
          Thrown when an application tries to load in a class through its string name using: The forName method in class Class.
 interface Error
          An Error is a subclass of Throwable that indicates serious problems that a reasonable application should not try to catch.
 interface Exception
          The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch.
 interface 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.
 interface IllegalArgumentException
          Thrown to indicate that a method has been passed an illegal or inappropriate argument.
 interface 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.
 interface IllegalStateException
          Signals that a method has been invoked at an illegal or inappropriate time.
 interface IllegalThreadStateException
          Thrown to indicate that a thread is not in an appropriate state for the requested operation.
 interface 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.
 interface 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.
 interface InterruptedException
          Thrown when a thread is waiting, sleeping, or otherwise paused for a long time and another thread interrupts it using the interrupt method in class Thread.
 interface NegativeArraySizeException
          Thrown if an application tries to create an array with negative size.
 interface NullPointerException
          Thrown when an application attempts to use null in a case where an object is required.
 interface 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.
 interface OutOfMemoryError
          Thrown when the Java Virtual Machine cannot allocate an object because it is out of memory, and no more memory could be made available by the garbage collector.
 interface RuntimeException
          RuntimeException is the superclass of those exceptions that can be thrown during the normal operation of the Java Virtual Machine.
 interface SecurityException
          Thrown by the security manager to indicate a security violation.
 interface 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.
 interface VirtualMachineError
          Thrown to indicate that the Java Virtual Machine is broken or has run out of resources necessary for it to continue operating.
 

Uses of Throwable in java.util
 

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

Uses of Throwable in javax.microedition.io
 

Subclasses of Throwable in javax.microedition.io
 interface ConnectionNotFoundException
          This class is used to signal that a connection target cannot be found
 

Uses of Throwable in javax.microedition.midlet
 

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

Uses of Throwable in javax.microedition.rms
 

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


MID Profile

Copyright © 2006 Sun Microsystems, 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 37 specification.