站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Uses of Class java.lang.RuntimeException - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Edition

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.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). 
 

Uses of RuntimeException in java.awt
 

Subclasses of RuntimeException in java.awt
 interface 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
 interface CMMException
          This exception is thrown if the native CMM returns an error.
 interface 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
 interface 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
 interface 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
 interface ImagingOpException
          The ImagingOpException is thrown if one of the BufferedImageOp or RasterOp filter methods cannot process the image.
 interface 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
 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.
 interface UnsupportedOperationException
          Thrown to indicate that the requested operation is not supported.
 

Uses of RuntimeException in java.rmi
 

Subclasses of RuntimeException in java.rmi
 interface 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
 interface 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.
 interface InvalidParameterException
          This exception is thrown when an invalid parameter is passed to a method.
 interface 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
 interface ConcurrentModificationException
          This exception may be thrown by methods that have detected concurrent modification of a backing object when such modification is not permissible.
 interface EmptyStackException
          Thrown by methods in the Stack class to indicate that the stack is empty.
 interface MissingResourceException
          Signals that a resource is missing.
 interface 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
 interface CannotRedoException
          Thrown when an UndoableEdit is told to redo() and can't.
 interface 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
 interface BAD_CONTEXT
          The CORBA BAD_CONTEXT exception, which is thrown when there is an error processing a context object.
 interface BAD_INV_ORDER
          The CORBA BAD_INV_ORDER exception, which is thrown when methods are called out of order.
 interface BAD_OPERATION
          The CORBA BAD_OPERATION exception, which is thrown when a method is invalid.
 interface BAD_PARAM
          The CORBA BAD_PARAM exception, which is thrown when an invalid parameter is passed to a method.
 interface BAD_TYPECODE
          The CORBA BAD_TYPECODE exception, which is thrown when the specified typecode is invalid.
 interface COMM_FAILURE
          The CORBA COMM_FAILURE exception, which is thrown when there is a communication failure.
 interface DATA_CONVERSION
          The CORBA DATA_CONVERSION exception, which is thrown when there is a data conversion error.
 interface FREE_MEM
          The CORBA FREE_MEM exception, which is thrown when the system is unable to free memory.
 interface IMP_LIMIT
          The CORBA IMP_LIMIT exception, which is thrown when the implementation limit has been violated.
 interface INITIALIZE
          The CORBA INITIALIZE exception, which is thrown when there is an ORB initialization error.
 interface INTERNAL
          The CORBA INTERNAL exception, which is thrown when there is an ORB internal error.
 interface INTF_REPOS
          The CORBA INTF_REPOS exception, which is thrown when there is an error accessing the interface repository.
 interface INV_FLAG
          The CORBA INV_FLAG exception, which is thrown when an invalid flag is specified.
 interface INV_IDENT
          The CORBA INV_IDENT exception, which is thrown when identifier syntax is invalid.
 interface INV_OBJREF
          The CORBA INV_OBJREF exception, which is thrown when an invalid object reference is specified.
 interface INV_POLICY
          The CORBA INV_POLICY standard exception, which is thrown when an invocation cannot be made because of an incompatibility between Policy overrides.
 interface INVALID_TRANSACTION
          The CORBA INVALID_TRANSACTION exception, which is thrown when there is a transaction error.
 interface MARSHAL
          The CORBA MARSHAL exception, which is thrown when the ORB has a problem marshalling or unmarshalling parameters.
 interface NO_IMPLEMENT
          The CORBA NO_IMPLEMENT exception, which is thrown when the implementation for a method is not available.
 interface 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.
 interface NO_PERMISSION
          The CORBA NO_PERMISSION exception, which is thrown if the client does not have permission to perform the request.
 interface 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.
 interface NO_RESPONSE
          The CORBA NO_RESPONSE exception, which is thrown when a response to the request is not yet available.
 interface OBJ_ADAPTER
          The CORBA OBJ_ADAPTER exception, which is thrown by the object adapter on the server to indicate some error.
 interface 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.
 interface PERSIST_STORE
          The CORBA PERSIST_STORE exception, which is thrown when there is an error with the persistent storage on the server.
 interface SystemException
          The root class for all CORBA standard exceptions.
 interface 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.
 interface TRANSACTION_ROLLEDBACK
          The CORBA TRANSACTION_ROLLEDBACK exception, which is thrown when a transactional operation did not complete because the transaction was rolled back.
 interface 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.
 interface UNKNOWN
          The CORBA UNKNOWN exception, which is thrown when there is an error whose cause is unknown to the ORB.
 


JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.