JavaTM 2 Platform
Std. Ed. v1.3.1

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.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). 
javax.swing.undo Provides support for undo/redo capabilities in an application such as a text editor. 
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. 
 

Uses of RuntimeException in java.awt
 

Subclasses of RuntimeException in java.awt
 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 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.
 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.rmi
 

Subclasses of RuntimeException in java.rmi
 class RMISecurityException
          Deprecated. no replacement. 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 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 a backing 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 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
          The CORBA BAD_CONTEXT exception, which is thrown when there is an error processing a context object.
 class BAD_INV_ORDER
          The CORBA BAD_INV_ORDER exception, which is thrown when methods are called out of order.
 class BAD_OPERATION
          The CORBA BAD_OPERATION exception, which is thrown when a method is invalid.
 class BAD_PARAM
          The CORBA BAD_PARAM exception, which is thrown when an invalid parameter is passed to a method.
 class BAD_TYPECODE
          The CORBA BAD_TYPECODE exception, which is thrown when the specified typecode is invalid.
 class COMM_FAILURE
          The CORBA COMM_FAILURE exception, which is thrown when there is a communication failure.
 class DATA_CONVERSION
          The CORBA DATA_CONVERSION exception, which is thrown when there is a data conversion error.
 class FREE_MEM
          The CORBA FREE_MEM exception, which is thrown when the system is unable to free memory.
 class IMP_LIMIT
          The CORBA IMP_LIMIT exception, which is thrown when the implementation limit has been violated.
 class INITIALIZE
          The CORBA INITIALIZE exception, which is thrown when there is an ORB initialization error.
 class INTERNAL
          The CORBA INTERNAL exception, which is thrown when there is an ORB internal error.
 class INTF_REPOS
          The CORBA INTF_REPOS exception, which is thrown when there is an error accessing the interface repository.
 class INV_FLAG
          The CORBA INV_FLAG exception, which is thrown when an invalid flag is specified.
 class INV_IDENT
          The CORBA INV_IDENT exception, which is thrown when identifier syntax is invalid.
 class INV_OBJREF
          The CORBA INV_OBJREF exception, which is thrown when an invalid object reference is specified.
 class INV_POLICY
          The CORBA INV_POLICY standard exception, which is thrown when an invocation cannot be made because of an incompatibility between Policy overrides.
 class INVALID_TRANSACTION
          The CORBA INVALID_TRANSACTION exception, which is thrown when there is a transaction error.
 class MARSHAL
          The CORBA MARSHAL exception, which is thrown when the ORB has a problem marshalling or unmarshalling parameters.
 class NO_IMPLEMENT
          The CORBA NO_IMPLEMENT exception, which is thrown when the implementation for a method is not available.
 class NO_MEMORY
          The CORBA NO_MEMORY exception, which may be thrown by either the client or the server when there is not enough memory for a dynamic memory allocation.
 class NO_PERMISSION
          The CORBA NO_PERMISSION exception, which is thrown if the client does not have permission to perform the request.
 class NO_RESOURCES
          The CORBA NO_RESOURCES exception, which is thrown when either the client or the server does not have sufficient resources to perform the request.
 class NO_RESPONSE
          The CORBA NO_RESPONSE exception, which is thrown when a response to the request is not yet available.
 class OBJ_ADAPTER
          The CORBA OBJ_ADAPTER exception, which is thrown by the object adapter on the server to indicate some error.
 class OBJECT_NOT_EXIST
          The CORBA OBJECT_NOT_EXIST exception, which is usually thrown from the server to indicate that the target object does not exist.
 class PERSIST_STORE
          The CORBA PERSIST_STORE exception, which is thrown when there is an error with the persistent storage on the server.
 class SystemException
          The root class for all CORBA standard exceptions.
 class TRANSACTION_REQUIRED
          The CORBA TRANSACTION_REQUIRED exception, which is thrown by the ORB on the client or server during the processing of a request that is required to be enclosed in a transaction.
 class TRANSACTION_ROLLEDBACK
          The CORBA TRANSACTION_ROLLEDBACK exception, which is thrown when a transactional operation did not complete because the transaction was rolled back.
 class TRANSIENT
          The CORBA TRANSIENT exception, which is thrown by the server to signal a transient failure that might not occur again if the request is retried.
 class UNKNOWN
          The CORBA UNKNOWN exception, which is thrown when there is an error whose cause is unknown to the ORB.
 

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.
 


JavaTM 2 Platform
Std. Ed. v1.3.1

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.

Java, Java 2D, and JDBC are trademarks or registered trademarks of Oracle and/or its affiliates, in the US and other countries.
Copyright © 1995, 2010 Oracle and/or its affiliates. All rights reserved.