Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Std. Ed. v1.4.1
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
java.lang.RuntimeException

Packages that use RuntimeException
java.awt | Contains all of the classes for creating user interfaces and for painting graphics and images.
java.awt.color | Provides classes for color spaces.
java.awt.dnd | Drag and Drop is a direct manipulation gesture found in many Graphical User Interface systems that provides a mechanism to transfer information between two entities logically associated with presentation elements in the GUI.
java.awt.geom | Provides the Java 2D classes for defining and performing operations on objects related to two-dimensional geometry.
java.awt.image | Provides classes for creating and modifying images.
java.lang | Provides classes that are fundamental to the design of the Java programming language.
java.lang.reflect | Provides classes and interfaces for obtaining reflective information about classes and objects.
java.nio | Defines buffers, which are containers for data, and provides an overview of the other NIO packages.
java.nio.channels | Defines channels, which represent connections to entities that are capable of performing I/O operations, such as files and sockets; defines selectors, for multiplexed, non-blocking I/O operations.
java.nio.charset | Defines charsets, decoders, and encoders, for translating between bytes and Unicode characters.
java.rmi | Provides the RMI package.
java.security | Provides the classes and interfaces for the security framework.
java.util | Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array).
java.util.regex | Classes for matching character sequences against patterns specified by regular expressions.
javax.print.attribute | Provides classes and interfaces that describe the types of JavaTM Print Service attributes and how they can be collected into attribute sets.
javax.swing.undo | Allows developers to provide support for undo/redo in applications such as text editors.
org.omg.CORBA | Provides the mapping of the OMG CORBA APIs to the JavaTM programming language, including the class `ORB`, which is implemented so that a programmer can use it as a fully-functional Object Request Broker (ORB).
org.omg.CORBA.portable | Provides a portability layer, that is, a set of ORB APIs that makes it possible for code generated by one vendor to run on another vendor's ORB.
org.w3c.dom | Provides the interfaces for the Document Object Model (DOM) which is a component API of the Java API for XML Processing.

Uses of RuntimeException in java.awt

Subclasses of RuntimeException in java.awt
`class` | `HeadlessException` Thrown when code that is dependent on a keyboard, display, or mouse is called in an environment that does not support a keyboard, display, or mouse.
`class` | `IllegalComponentStateException` Signals that an AWT component is not in an appropriate state for the requested operation.

Uses of RuntimeException in java.awt.color

Subclasses of RuntimeException in java.awt.color
`class` | `CMMException` This exception is thrown if the native CMM returns an error.
`class` | `ProfileDataException` This exception is thrown when an error occurs in accessing or processing an ICC_Profile object.

Uses of RuntimeException in java.awt.dnd

Subclasses of RuntimeException in java.awt.dnd
`class` | `InvalidDnDOperationException` This exception is thrown by various methods in the java.awt.dnd package.

Uses of RuntimeException in java.awt.geom

Subclasses of RuntimeException in java.awt.geom
`class` | `IllegalPathStateException` The `IllegalPathStateException` represents an exception that is thrown if an operation is performed on a path that is in an illegal state with respect to the particular operation being performed, such as appending a path segment to a `GeneralPath` without an initial moveto.

Uses of RuntimeException in java.awt.image

Subclasses of RuntimeException in java.awt.image
`class` | `ImagingOpException` The `ImagingOpException` is thrown if one of the `BufferedImageOp` or `RasterOp` filter methods cannot process the image.
`class` | `RasterFormatException` The `RasterFormatException` is thrown if there is invalid layout information in the `Raster`.

Uses of RuntimeException in java.lang

Subclasses of RuntimeException 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` | `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` | `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` | `SecurityException` Thrown by the security manager to indicate a security violation.
`class` | `StringIndexOutOfBoundsException` Thrown by `String` methods to indicate that an index is either negative or greater than the size of the string.
`class` | `UnsupportedOperationException` Thrown to indicate that the requested operation is not supported.

Uses of RuntimeException in java.lang.reflect

Subclasses of RuntimeException in java.lang.reflect
`class` | `UndeclaredThrowableException` Thrown by a method invocation on a proxy instance if its invocation handler's `invoke` method throws a checked exception (a `Throwable` that is not assignable to `RuntimeException` or `Error`) that is not assignable to any of the exception types declared in the `throws` clause of the method that was invoked on the proxy instance and dispatched to the invocation handler.

Uses of RuntimeException in java.nio

Subclasses of RuntimeException in java.nio
`class` | `BufferOverflowException` Unchecked exception thrown when a relative put operation reaches the target buffer's limit.
`class` | `BufferUnderflowException` Unchecked exception thrown when a relative get operation reaches the source buffer's limit.
`class` | `InvalidMarkException` Unchecked exception thrown when an attempt is made to reset a buffer when its mark is not defined.
`class` | `ReadOnlyBufferException` Unchecked exception thrown when a content-mutation method such as `put` or `compact` is invoked upon a read-only buffer.

Uses of RuntimeException in java.nio.channels

Subclasses of RuntimeException in java.nio.channels
`class` | `AlreadyConnectedException` Unchecked exception thrown when an attempt is made to connect a `SocketChannel` that is already connected.
`class` | `CancelledKeyException` Unchecked exception thrown when an attempt is made to use a selection key that is no longer valid.
`class` | `ClosedSelectorException` Unchecked exception thrown when an attempt is made to invoke an I/O operation upon a closed selector.
`class` | `ConnectionPendingException` Unchecked exception thrown when an attempt is made to connect a `SocketChannel` for which a non-blocking connection operation is already in progress.
`class` | `IllegalBlockingModeException` Unchecked exception thrown when a blocking-mode-specific operation is invoked upon a channel in the incorrect blocking mode.
`class` | `IllegalSelectorException` Unchecked exception thrown when an attempt is made to register a channel with a selector that was not created by the provider that created the channel.
`class` | `NoConnectionPendingException` Unchecked exception thrown when the `finishConnect` method of a `SocketChannel` is invoked without first successfully invoking its `connect` method.
`class` | `NonReadableChannelException` Unchecked exception thrown when an attempt is made to read from a channel that was not originally opened for reading.
`class` | `NonWritableChannelException` Unchecked exception thrown when an attempt is made to write to a channel that was not originally opened for writing.
`class` | `NotYetBoundException` Unchecked exception thrown when an attempt is made to invoke an I/O operation upon a server socket channel that is not yet bound.
`class` | `NotYetConnectedException` Unchecked exception thrown when an attempt is made to invoke an I/O operation upon a socket channel that is not yet connected.
`class` | `OverlappingFileLockException` Unchecked exception thrown when an attempt is made to acquire a lock on a region of a file that overlaps a region already locked by the same Java virtual machine, or when another thread is already waiting to lock an overlapping region of the same file.
`class` | `UnresolvedAddressException` Unchecked exception thrown when an attempt is made to invoke a network operation upon an unresolved socket address.
`class` | `UnsupportedAddressTypeException` Unchecked exception thrown when an attempt is made to bind or connect to a socket address of a type that is not supported.

Uses of RuntimeException in java.nio.charset

Subclasses of RuntimeException in java.nio.charset
`class` | `IllegalCharsetNameException` Unchecked exception thrown when a string that is not a legal charset name is used as such.
`class` | `UnsupportedCharsetException` Unchecked exception thrown when no support is available for a requested charset.

Uses of RuntimeException in java.rmi

Subclasses of RuntimeException in java.rmi
`class` | `RMISecurityException` Deprecated. Use `SecurityException` instead. Application code should never directly reference this class, and `RMISecurityManager` no longer throws this subclass of `java.lang.SecurityException`.

Uses of RuntimeException in java.security

Subclasses of RuntimeException in java.security
`class` | `AccessControlException` This exception is thrown by the AccessController to indicate that a requested access (to a critical system resource such as the file system or the network) is denied.
`class` | `InvalidParameterException` This exception, designed for use by the JCA/JCE engine classes, is thrown when an invalid parameter is passed to a method.
`class` | `ProviderException` A runtime exception for Provider exceptions (such as misconfiguration errors), which may be subclassed by Providers to throw specialized, provider-specific runtime errors.

Uses of RuntimeException in java.util

Subclasses of RuntimeException in java.util
`class` | `ConcurrentModificationException` This exception may be thrown by methods that have detected concurrent modification of an object when such modification is not permissible.
`class` | `EmptyStackException` Thrown by methods in the `Stack` class to indicate that the stack is empty.
`class` | `MissingResourceException` Signals that a resource is missing.
`class` | `NoSuchElementException` Thrown by the `nextElement` method of an `Enumeration` to indicate that there are no more elements in the enumeration.

Uses of RuntimeException in java.util.regex

Subclasses of RuntimeException in java.util.regex
`class` | `PatternSyntaxException` Unchecked exception thrown to indicate a syntax error in a regular-expression pattern.

Uses of RuntimeException in javax.print.attribute

Subclasses of RuntimeException in javax.print.attribute
`class` | `UnmodifiableSetException` Thrown to indicate that the requested operation cannot be performed becasue the set is unmodifiable.

Uses of RuntimeException in javax.swing.undo

Subclasses of RuntimeException in javax.swing.undo
`class` | `CannotRedoException` Thrown when an UndoableEdit is told to `redo()` and can't.
`class` | `CannotUndoException` Thrown when an UndoableEdit is told to `undo()` and can't.

Uses of RuntimeException in org.omg.CORBA

Subclasses of RuntimeException in org.omg.CORBA
`class` | `BAD_CONTEXT` Exception thrown when an operation is invoked by a client but the passed context does not contain the context values required by the operation.
`class` | `BAD_INV_ORDER` This exception indicates that the caller has invoked operations in the wrong order.
`class` | `BAD_OPERATION` Exception thrown when an object reference denotes an existing object, but that the object does not support the operation that was invoked.
`class` | `BAD_PARAM` Exception thrown when a parameter passed to a call is out of range or otherwise considered illegal.
`class` | `BAD_TYPECODE` Exception thrown when the ORB has encountered a malformed type code (for example, a type code with an invalid `TCKind` value).
`class` | `COMM_FAILURE` This exception is raised if communication is lost while an operation is in progress, after the request was sent by the client, but before the reply from the server has been returned to the client.
`class` | `DATA_CONVERSION` This exception is raised if an ORB cannot convert the representation of data as marshaled into its native representation or vice-versa.
`class` | `FREE_MEM` Exception thrown when the ORB failed in an attempt to free dynamic memory, for example because of heap corruption or memory segments being locked.
`class` | `IMP_LIMIT` This exception indicates that an implementation limit was exceeded in the ORB run time.
`class` | `INITIALIZE` Exception thrown when an ORB has encountered a failure during its initialization, such as failure to acquire networking resources or detecting a configuration error.
`class` | `INTERNAL` This exception indicates an internal failure in an ORB, for example, if an ORB has detected corruption of its internal data structures.
`class` | `INTF_REPOS` Exception raised when an ORB cannot reach the interface repository, or some other failure relating to the interface repository is detected.
`class` | `INV_FLAG` Exception thrown when an invalid flag was passed to an operation (for example, when creating a DII request).
`class` | `INV_IDENT` This exception indicates that an IDL identifier is syntactically invalid.
`class` | `INV_OBJREF` This exception indicates that an object reference is internally malformed.
`class` | `INV_POLICY` Standard exception thrown when an invocation cannot be made because of an incompatibility between `Policy` overrides that apply to the particular invocation.
`class` | `INVALID_TRANSACTION` Exception thrown when the request carried an invalid transaction context.
`class` | `MARSHAL` A request or reply from the network is structurally invalid.
`class` | `NO_IMPLEMENT` This exception indicates that even though the operation that was invoked exists (it has an IDL definition), no implementation for that operation exists.
`class` | `NO_MEMORY` Exception thrown when the ORB run time has run out of memory.
`class` | `NO_PERMISSION` Exception thrown when an invocation failed because the caller has insufficient privileges.
`class` | `NO_RESOURCES` Exception thrown when the ORB has encountered some general resource limitation.
`class` | `NO_RESPONSE` This exception is raised if a client attempts to retrieve the result of a deferred synchronous call, but the response for the request is not yet available.
`class` | `OBJ_ADAPTER` This exception typically indicates an administrative mismatch, for example, a server may have made an attempt to register itself with an implementation repository under a name that is already in use, or is unknown to the repository.
`class` | `OBJECT_NOT_EXIST` Exception raised whenever an invocation on a deleted object was performed.
`class` | `PERSIST_STORE` This exception indicates a persistent storage failure, for example, failure to establish a database connection or corruption of a database.
`class` | `SystemException` The root class for all CORBA standard exceptions.
`class` | `TRANSACTION_REQUIRED` Exception indicates that the request carried a null transaction context, but an active transaction is required.
`class` | `TRANSACTION_ROLLEDBACK` Exception thrown when the transaction associated with the request has already been rolled back or marked to roll back.
`class` | `TRANSIENT` Exception thrown when the ORB attempted to reach an object and failed.
`class` | `UNKNOWN` This exception is raised if an operation implementation throws a non-CORBA exception (such as an exception specific to the implementation's programming language), or if an operation raises a user exception that does not appear in the operation's raises expression.

Uses of RuntimeException in org.omg.CORBA.portable

Subclasses of RuntimeException in org.omg.CORBA.portable
`class` | `IndirectionException` The Indirection exception is a Java specific system exception.
`class` | `UnknownException` The org.omg.CORBA.portable.UnknownException is used for reporting unknown exceptions between ties and ORBs and between ORBs and stubs.

Uses of RuntimeException in org.w3c.dom

Subclasses of RuntimeException in org.w3c.dom
`class` | `DOMException` DOM operations only raise exceptions in "exceptional" circumstances, i.e., when an operation is impossible to perform (either for logical reasons, because data is lost, or because the implementation has become unstable).

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Std. Ed. v1.4.1
PREV NEXT | FRAMES NO FRAMES

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.