Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| MID Profile
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
java.lang.RuntimeException

Packages that use RuntimeException
java.lang | MID Profile Language Classes included from Java 2 Standard Edition.
java.util | MID Profile Utility Classes included from Java 2 Standard Edition.

Uses of RuntimeException in java.lang

Subclasses of RuntimeException 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` | `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` | `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` | `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.

Uses of RuntimeException in java.util

Subclasses of RuntimeException 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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| MID Profile
PREV NEXT | FRAMES NO FRAMES

Submit a comment or suggestion Version 0.95 of MID Profile Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries. Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road,Palo Alto, California, 94303, U.S.A. All Rights Reserved.