Uses of Class java.lang.Exception (Java 2 Platform SE v1.4.1_"07")

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

JavaTM 2 Platform
Std. Ed. v1.4.1_"07"

PREV NEXT | FRAMES NO FRAMES

## Uses of Class
java.lang.Exception

Packages that use Exception
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.datatransfer | Provides interfaces and classes for transferring data between and within applications.
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.event | Provides interfaces and classes for dealing with different types of events fired by AWT components.
java.awt.geom | Provides the Java 2D classes for defining and performing operations on objects related to two-dimensional geometry.
java.awt.im.spi | Provides interfaces that enable the development of input methods that can be used with any Java runtime environment.
java.awt.image | Provides classes for creating and modifying images.
java.awt.print | Provides classes and interfaces for a general printing API.
java.beans | Contains classes related to developing beans -- components based on the JavaBeansTM architecture.
java.io | Provides for system input and output through data streams, serialization and the file system.
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.net | Provides the classes for implementing networking applications.
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.rmi.activation | Provides support for RMI Object Activation.
java.rmi.server | Provides classes and interfaces for supporting the server side of RMI.
java.security | Provides the classes and interfaces for the security framework.
java.security.acl | The classes and interfaces in this package have been superseded by classes in the java.security package.
java.security.cert | Provides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths.
java.security.spec | Provides classes and interfaces for key specifications and algorithm parameter specifications.
java.sql | Provides the API for accessing and processing data stored in a data source (usually a relational database) using the JavaTM programming language.
java.text | Provides classes and interfaces for handling text, dates, numbers, and messages in a manner independent of natural languages.
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.jar | Provides classes for reading and writing the JAR (Java ARchive) file format, which is based on the standard ZIP file format with an optional manifest file.
java.util.logging | Provides the classes and interfaces of the JavaTM 2 platform's core logging facilities.
java.util.prefs | This package allows applications to store and retrieve user and system preference and configuration data.
java.util.regex | Classes for matching character sequences against patterns specified by regular expressions.
java.util.zip | Provides classes for reading and writing the standard ZIP and GZIP file formats.
javax.crypto | Provides the classes and interfaces for cryptographic operations.
javax.imageio | The main package of the Java Image I/O API.
javax.imageio.metadata | A package of the Java Image I/O API dealing with reading and writing metadata.
javax.naming | Provides the classes and interfaces for accessing naming services.
javax.naming.directory | Extends the `javax.naming` package to provide functionality for accessing directory services.
javax.naming.ldap | Provides support for LDAPv3 extended operations and controls.
javax.naming.spi | Provides the means for dynamically plugging in support for accessing naming and directory services through the `javax.naming` and related packages.
javax.net.ssl | Provides classes for the secure socket package.
javax.print | Provides the principal classes and interfaces for the JavaTM Print Service API.
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.security.auth | This package provides a framework for authentication and authorization.
javax.security.auth.callback | This package provides the classes necessary for services to interact with applications in order to retrieve information (authentication data including usernames or passwords, for example) or to display information (error and warning messages, for example).
javax.security.auth.login | This package provides a pluggable authentication framework.
javax.security.cert | Provides classes for public key certificates.
javax.sound.midi | Provides interfaces and classes for I/O, sequencing, and synthesis of MIDI (Musical Instrument Digital Interface) data.
javax.sound.sampled | Provides interfaces and classes for capture, processing, and playback of sampled audio data.
javax.swing | Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
javax.swing.text | Provides classes and interfaces that deal with editable and noneditable text components.
javax.swing.tree | Provides classes and interfaces for dealing with `javax.swing.JTree`.
javax.swing.undo | Allows developers to provide support for undo/redo in applications such as text editors.
javax.transaction | Contains three exceptions thrown by the ORB machinery during unmarshalling.
javax.transaction.xa | Provides the API that defines the contract between the transaction manager and the resource manager, which allows the transaction manager to enlist and delist resource objects (supplied by the resource manager driver) in JTA transactions.
javax.xml.parsers | Provides classes allowing the processing of XML documents.
javax.xml.transform | This package defines the generic APIs for processing transformation instructions, and performing a transformation from source to result.
org.ietf.jgss | This package presents a framework that allows application developers to make use of security services like authentication, data integrity and data confidentiality from a variety of underlying security mechanisms like Kerberos, using a unified API.
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.DynAnyPackage | Provides the exceptions used with the `DynAny` interface (`InvalidValue`, `Invalid`, `InvalidSeq`, and `TypeMismatch`).
org.omg.CORBA.ORBPackage | Provides the exception `InvalidName`, which is thrown by the method `ORB.resolve_initial_references` and the exception `InconsistentTypeCode`, which is thrown by the Dynamic Any creation methods in the ORB class.
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.omg.CORBA.TypeCodePackage | Provides the user-defined exceptions `BadKind` and `Bounds`, which are thrown by methods in in the class `TypeCode`.
org.omg.CosNaming.NamingContextExtPackage | This package contains the following classes, which are used in `org.omg.CosNaming.NamingContextExt`:
org.omg.CosNaming.NamingContextPackage | This package contains Exception classes for the `org.omg.CosNaming` package.
org.omg.IOP.CodecFactoryPackage | This package contains the exceptions specified in the IOP::CodeFactory interface (as part of the Portable Interceptors spec).
org.omg.IOP.CodecPackage | This package is generated from the IOP::Codec IDL interface definition.
org.omg.PortableInterceptor | Provides a mechanism to register ORB hooks through which ORB services can intercept the normal flow of execution of the ORB.
org.omg.PortableInterceptor.ORBInitInfoPackage | This package contains the exceptions and typedefs from the `ORBInitInfo` local interface of the `PortableInterceptor` module specified in the OMG Portable Interceptor specification, http://cgi.omg.org/cgi-bin/doc?ptc/2000-08-06, section 21.7.2.
org.omg.PortableServer | Provides classes and interfaces for making the server side of your applications portable across multivendor ORBs.
org.omg.PortableServer.CurrentPackage | Provides method implementations with access to the identity of the object on which the method was invoked.
org.omg.PortableServer.POAManagerPackage | Encapsulates the processing state of the POAs it is associated with.
org.omg.PortableServer.POAPackage | Allows programmers to construct object implementations that are portable between different ORB products.
org.w3c.dom | Provides the interfaces for the Document Object Model (DOM) which is a component API of the Java API for XML Processing.
org.xml.sax | Provides the classes and interfaces for the Simple API for XML (SAX) which is a component of the Java API for XML Processing.

Uses of Exception in java.awt

Subclasses of Exception in java.awt
`class` | `AWTException` Signals that an Absract Window Toolkit exception has occurred.
`class` | `FontFormatException` Thrown by method createFont in the `Font` class to indicate that the specified font is bad.
`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 Exception in java.awt.color

Subclasses of Exception 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 Exception in java.awt.datatransfer

Subclasses of Exception in java.awt.datatransfer
`class` | `MimeTypeParseException` A class to encapsulate MimeType parsing related exceptions
`class` | `UnsupportedFlavorException` Signals that the requested data is not supported in this flavor.

Uses of Exception in java.awt.dnd

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

Uses of Exception in java.awt.event

Methods in java.awt.event that return Exception
`Exception` | `InvocationEvent.getException()` Returns any Exception caught while executing the Runnable's `run()` method.

Uses of Exception in java.awt.geom

Subclasses of Exception 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.
`class` | `NoninvertibleTransformException` The `NoninvertibleTransformException` class represents an exception that is thrown if an operation is performed requiring the inverse of an `AffineTransform` object but the `AffineTransform` is in a non-invertible state.

Uses of Exception in java.awt.im.spi

Methods in java.awt.im.spi that throw Exception
`InputMethod` | `InputMethodDescriptor.createInputMethod()` Creates a new instance of the corresponding input method.

Uses of Exception in java.awt.image

Subclasses of Exception 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 Exception in java.awt.print

Subclasses of Exception in java.awt.print
`class` | `PrinterAbortException` The `PrinterAbortException` class is a subclass of `PrinterException` and is used to indicate that a user or application has terminated the print job while it was in the process of printing.
`class` | `PrinterException` The `PrinterException` class and its subclasses are used to indicate that an exceptional condition has occurred in the print system.
`class` | `PrinterIOException` The `PrinterIOException` class is a subclass of `PrinterException` and is used to indicate that an IO error of some sort has occurred while printing.

Uses of Exception in java.beans

Subclasses of Exception in java.beans
`class` | `IntrospectionException` Thrown when an exception happens during Introspection.
`class` | `PropertyVetoException` A PropertyVetoException is thrown when a proposed change to a property represents an unacceptable value.

Methods in java.beans with parameters of type Exception
`void` | `ExceptionListener.exceptionThrown(Exception e)` This method is called when a recoverable exception has been caught.

Methods in java.beans that throw Exception
`void` | `Statement.execute()` The execute method finds a method whose name is the same as the methodName property, and invokes the method on the target.
`Object` | `Expression.getValue()` If the value property of this instance is not already set, this method dynamically finds the method with the specified methodName on this target with these arguments and calls it.

Uses of Exception in java.io

Subclasses of Exception in java.io
`class` | `CharConversionException` Base class for character conversion exceptions.
`class` | `EOFException` Signals that an end of file or end of stream has been reached unexpectedly during input.
`class` | `FileNotFoundException` Signals that an attempt to open the file denoted by a specified pathname has failed.
`class` | `InterruptedIOException` Signals that an I/O operation has been interrupted.
`class` | `InvalidClassException` Thrown when the Serialization runtime detects one of the following problems with a Class.
`class` | `InvalidObjectException` Indicates that one or more deserialized objects failed validation tests.
`class` | `IOException` Signals that an I/O exception of some sort has occurred.
`class` | `NotActiveException` Thrown when serialization or deserialization is not active.
`class` | `NotSerializableException` Thrown when an instance is required to have a Serializable interface.
`class` | `ObjectStreamException` Superclass of all exceptions specific to Object Stream classes.
`class` | `OptionalDataException` Exception indicating the failure of an object read operation due to unread primitive data, or the end of data belonging to a serialized object in the stream.
`class` | `StreamCorruptedException` Thrown when control information that was read from an object stream violates internal consistency checks.
`class` | `SyncFailedException` Signals that a sync operation has failed.
`class` | `UnsupportedEncodingException` The Character Encoding is not supported.
`class` | `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.
`class` | `WriteAbortedException` Signals that one of the ObjectStreamExceptions was thrown during a write operation.

Fields in java.io declared as Exception
`Exception` | `WriteAbortedException.detail` Exception that was caught while writing the ObjectStream.

Constructors in java.io with parameters of type Exception
`WriteAbortedException(String s, Exception ex)` Constructs a WriteAbortedException with a string describing the exception and the exception causing the abort.

Uses of Exception in java.lang

Subclasses of Exception 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` | `ClassNotFoundException` Thrown when an application tries to load in a class through its string name using: The `forName` method in class `Class`.
`class` | `CloneNotSupportedException` Thrown to indicate that the `clone` method in class `Object` has been called to clone an object, but that the object's class does not implement the `Cloneable` interface.
`class` | `IllegalAccessException` An IllegalAccessException is thrown when an application tries to reflectively create an instance (other than an array), set or get a field, or invoke a method, but the currently executing method does not have access to the definition of the specified class, field, method or constructor.
`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` | `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.
`class` | `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`.
`class` | `NegativeArraySizeException` Thrown if an application tries to create an array with negative size.
`class` | `NoSuchFieldException` Signals that the class doesn't have a field of a specified name.
`class` | `NoSuchMethodException` Thrown when a particular method cannot be found.
`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` | `RuntimeException` `RuntimeException` is the superclass of those exceptions that can be thrown during the normal operation of the Java Virtual Machine.
`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 Exception in java.lang.reflect

Subclasses of Exception in java.lang.reflect
`class` | `InvocationTargetException` InvocationTargetException is a checked exception that wraps an exception thrown by an invoked method or constructor.
`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 Exception in java.net

Subclasses of Exception in java.net
`class` | `BindException` Signals that an error occurred while attempting to bind a socket to a local address and port.
`class` | `MalformedURLException` Thrown to indicate that a malformed URL has occurred.
`class` | `NoRouteToHostException` Signals that an error occurred while attempting to connect a socket to a remote address and port.
`class` | `PortUnreachableException` Signals that an ICMP Port Unreachable message has been received on a connected datagram.
`class` | `ProtocolException` Thrown to indicate that there is an error in the underlying protocol, such as a TCP error.
`class` | `SocketException` Thrown to indicate that there is an error in the underlying protocol, such as a TCP error.
`class` | `SocketTimeoutException` Signals that a timeout has occurred on a socket read or accept.
`class` | `UnknownHostException` Thrown to indicate that the IP address of a host could not be determined.
`class` | `UnknownServiceException` Thrown to indicate that an unknown service exception has occurred.
`class` | `URISyntaxException` Checked exception thrown to indicate that a string could not be parsed as a URI reference.

Uses of Exception in java.nio

Subclasses of Exception 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 Exception in java.nio.channels

Subclasses of Exception in java.nio.channels
`class` | `AlreadyConnectedException` Unchecked exception thrown when an attempt is made to connect a `SocketChannel` that is already connected.
`class` | `AsynchronousCloseException` Checked exception received by a thread when another thread closes the channel or the part of the channel upon which it is blocked in an I/O operation.
`class` | `CancelledKeyException` Unchecked exception thrown when an attempt is made to use a selection key that is no longer valid.
`class` | `ClosedByInterruptException` Checked exception received by a thread when another thread interrupts it while it is blocked in an I/O operation upon a channel.
`class` | `ClosedChannelException` Checked exception thrown when an attempt is made to invoke or complete an I/O operation upon channel that is closed, or at least closed to that operation.
`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` | `FileLockInterruptionException` Checked exception received by a thread when another thread interrupts it while it is waiting to acquire a file lock.
`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 Exception in java.nio.charset

Subclasses of Exception in java.nio.charset
`class` | `CharacterCodingException` Checked exception thrown when a character encoding or decoding error occurs.
`class` | `IllegalCharsetNameException` Unchecked exception thrown when a string that is not a legal charset name is used as such.
`class` | `MalformedInputException` Checked exception thrown when an input byte sequence is not legal for given charset, or an input character sequence is not a legal sixteen-bit Unicode sequence.
`class` | `UnmappableCharacterException` Checked exception thrown when an input character (or byte) sequence is valid but cannot be mapped to an output byte (or character) sequence.
`class` | `UnsupportedCharsetException` Unchecked exception thrown when no support is available for a requested charset.

Constructors in java.nio.charset with parameters of type Exception
`CoderMalfunctionError(Exception cause)` Initializes an instance of this class.

Uses of Exception in java.rmi

Subclasses of Exception in java.rmi
`class` | `AccessException` An `AccessException` is thrown by certain methods of the `java.rmi.Naming` class (specifically `bind`, `rebind`, and `unbind`) and methods of the `java.rmi.activation.ActivationSystem` interface to indicate that the caller does not have permission to perform the action requested by the method call.
`class` | `AlreadyBoundException` An `AlreadyBoundException` is thrown if an attempt is made to bind an object in the registry to a name that already has an associated binding.
`class` | `ConnectException` A `ConnectException` is thrown if a connection is refused to the remote host for a remote method call.
`class` | `ConnectIOException` A `ConnectIOException` is thrown if an `IOException` occurs while making a connection to the remote host for a remote method call.
`class` | `MarshalException` A `MarshalException` is thrown if a `java.io.IOException` occurs while marshalling the remote call header, arguments or return value for a remote method call.
`class` | `NoSuchObjectException` A `NoSuchObjectException` is thrown if an attempt is made to invoke a method on an object that no longer exists in the remote virtual machine.
`class` | `NotBoundException` A `NotBoundException` is thrown if an attempt is made to lookup or unbind in the registry a name that has no associated binding.
`class` | `RemoteException` A `RemoteException` is the common superclass for a number of communication-related exceptions that may occur during the execution of a remote method call.
`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`.
`class` | `ServerError` A `ServerError` is thrown as a result of a remote method invocation when an `Error` is thrown while processing the invocation on the server, either while unmarshalling the arguments, executing the remote method itself, or marshalling the return value.
`class` | `ServerException` A `ServerException` is thrown as a result of a remote method invocation when a `RemoteException` is thrown while processing the invocation on the server, either while unmarshalling the arguments, executing the remote method itself, or marshalling the return value.
`class` | `ServerRuntimeException` Deprecated. no replacement
`class` | `StubNotFoundException` A `StubNotFoundException` is thrown if a valid stub class could not be found for a remote object when it is exported.
`class` | `UnexpectedException` An `UnexpectedException` is thrown if the client of a remote method call receives, as a result of the call, a checked exception that is not among the checked exception types declared in the `throws` clause of the method in the remote interface.
`class` | `UnmarshalException` An `UnmarshalException` can be thrown while unmarshalling the parameters or results of a remote method call if any of the following conditions occur: if an exception occurs while unmarshalling the call header if the protocol for the return value is invalid if a `java.io.IOException` occurs unmarshalling parameters (on the server side) or the return value (on the client side).

Constructors in java.rmi with parameters of type Exception
`UnmarshalException(String s, Exception ex)` Constructs an `UnmarshalException` with the specified detail message and nested exception.
`UnknownHostException(String s, Exception ex)` Constructs an `UnknownHostException` with the specified detail message and nested exception.
`UnexpectedException(String s, Exception ex)` Constructs a `UnexpectedException` with the specified detail message and nested exception.
`StubNotFoundException(String s, Exception ex)` Constructs a `StubNotFoundException` with the specified detail message and nested exception.
`ServerRuntimeException(String s, Exception ex)` Deprecated. no replacement
`ServerException(String s, Exception ex)` Constructs a `ServerException` with the specified detail message and nested exception.
`MarshalException(String s, Exception ex)` Constructs a `MarshalException` with the specified detail message and nested exception.
`ConnectIOException(String s, Exception ex)` Constructs a `ConnectIOException` with the specified detail message and nested exception.
`ConnectException(String s, Exception ex)` Constructs a `ConnectException` with the specified detail message and nested exception.
`AccessException(String s, Exception ex)` Constructs an `AccessException` with the specified detail message and nested exception.

Uses of Exception in java.rmi.activation

Subclasses of Exception in java.rmi.activation
`class` | `ActivateFailedException` This exception is thrown by the RMI runtime when activation fails during a remote call to an activatable object.
`class` | `ActivationException` General exception used by the activation interfaces.
`class` | `UnknownGroupException` An `UnknownGroupException` is thrown by methods of classes and interfaces in the `java.rmi.activation` package when the `ActivationGroupID` parameter to the method is determined to be invalid, i.e., not known by the `ActivationSystem`.
`class` | `UnknownObjectException` An `UnknownObjectException` is thrown by methods of classes and interfaces in the `java.rmi.activation` package when the `ActivationID` parameter to the method is determined to be invalid.

Constructors in java.rmi.activation with parameters of type Exception
`ActivateFailedException(String s, Exception ex)` Constructs an `ActivateFailedException` with the specified detail message and nested exception.

Uses of Exception in java.rmi.server

Subclasses of Exception in java.rmi.server
`class` | `ExportException` An `ExportException` is a `RemoteException` thrown if an attempt to export a remote object fails.
`class` | `ServerCloneException` A `ServerCloneException` is thrown if a remote exception occurs during the cloning of a `UnicastRemoteObject`.
`class` | `ServerNotActiveException` An `ServerNotActiveException` is an `Exception` thrown during a call to `RemoteServer.getClientHost` if the getClientHost method is called outside of servicing a remote method call.
`class` | `SkeletonMismatchException` Deprecated. no replacement. Skeletons are no longer required for remote method calls in the Java 2 platform v1.2 and greater.
`class` | `SkeletonNotFoundException` Deprecated. no replacement. Skeletons are no longer required for remote method calls in the Java 2 platform v1.2 and greater.
`class` | `SocketSecurityException` A `SocketSecurityException` is thrown during remote object export if the code exporting the remote object (either by construction or by explicit call to the `exportObject` method of `UnicastRemoteObject` or `java.rmi.activation.Activatable`) does not have permission to create a `java.net.ServerSocket` on the port number specified during remote object export.

Fields in java.rmi.server declared as Exception
`Exception` | `ServerCloneException.detail` Nested exception for ServerCloneException.

Methods in java.rmi.server with parameters of type Exception
`boolean` | `RMIFailureHandler.failure(Exception ex)` The `failure` callback is invoked when the RMI runtime is unable to create a `ServerSocket` via the `RMISocketFactory`.

Methods in java.rmi.server that throw Exception
`void` | `Skeleton.dispatch(Remote obj, RemoteCall theCall, int opnum, long hash)` Deprecated. no replacement
`Object` | `RemoteRef.invoke(Remote obj, Method method, Object[] params, long opnum)` Invoke a method.

`void`

`RemoteRef.invoke(RemoteCall call)`
Deprecated. 1.2 style stubs no longer use this method. Instead of using a sequence of method calls to the remote reference (`newCall`, `invoke`, and `done`), a stub uses a single method, `invoke(Remote, Method, Object[], int)`, on the remote reference to carry out parameter marshalling, remote method executing and unmarshalling of the return value.

1.2 stubs are generated using `rmic -v1.2`. By default, `rmic` generates stubs compatible with JDK1.1 and the Java 2 SDK. The compatible stubs can also be generated using `rmic -vcompat`.

`void` | `RemoteCall.executeCall()` Deprecated. no replacement

Constructors in java.rmi.server with parameters of type Exception
`SocketSecurityException(String s, Exception ex)` Constructs an `SocketSecurityException` with the specified detail message and nested exception.
`SkeletonNotFoundException(String s, Exception ex)` Deprecated. Constructs a `SkeletonNotFoundException` with the specified detail message and nested exception.
`ServerCloneException(String s, Exception ex)` Constructs an `ServerCloneException` with the specified detail message and nested exception.
`ExportException(String s, Exception ex)` Constructs an `ExportException` with the specified detail message and nested exception.

Uses of Exception in java.security

Subclasses of Exception 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` | `DigestException` This is the generic Message Digest exception.
`class` | `GeneralSecurityException` This is the general security exception class, which serves to group all the exception classes of the `java.security` package that extend from it.
`class` | `InvalidAlgorithmParameterException` This is the exception for invalid or inappropriate algorithm parameters.
`class` | `InvalidKeyException` This is the exception for invalid Keys (invalid encoding, wrong length, uninitialized, etc).
`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` | `KeyException` This is the basic key exception.
`class` | `KeyManagementException` This is the general key management exception for all operations dealing with key management.
`class` | `KeyStoreException` This is the generic KeyStore exception.
`class` | `NoSuchAlgorithmException` This exception is thrown when a particular cryptographic algorithm is requested but is not available in the environment.
`class` | `NoSuchProviderException` This exception is thrown when a particular security provider is requested but is not available in the environment.
`class` | `PrivilegedActionException` This exception is thrown by `doPrivileged(PrivilegedExceptionAction)` and `doPrivileged(PrivilegedExceptionAction, AccessControlContext context)` to indicate that the action being performed threw a checked exception.
`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.
`class` | `SignatureException` This is the generic Signature exception.
`class` | `UnrecoverableKeyException` This exception is thrown if a key in the keystore cannot be recovered.

Methods in java.security that return Exception
`Exception` | `PrivilegedActionException.getException()` Returns the exception thrown by the privileged computation that resulted in this `PrivilegedActionException`.

Methods in java.security that throw Exception
`Object` | `PrivilegedExceptionAction.run()` Performs the computation.

Constructors in java.security with parameters of type Exception
`PrivilegedActionException(Exception exception)` Constructs a new PrivilegedActionException "wrapping" the specific Exception.

Uses of Exception in java.security.acl

Subclasses of Exception in java.security.acl
`class` | `AclNotFoundException` This is an exception that is thrown whenever a reference is made to a non-existent ACL (Access Control List).
`class` | `LastOwnerException` This is an exception that is thrown whenever an attempt is made to delete the last owner of an Access Control List.
`class` | `NotOwnerException` This is an exception that is thrown whenever the modification of an object (such as an Access Control List) is only allowed to be done by an owner of the object, but the Principal attempting the modification is not an owner.

Uses of Exception in java.security.cert

Subclasses of Exception in java.security.cert
`class` | `CertPathBuilderException` An exception indicating one of a variety of problems encountered when building a certification path with a `CertPathBuilder`.
`class` | `CertPathValidatorException` An exception indicating one of a variety of problems encountered when validating a certification path.
`class` | `CertStoreException` An exception indicating one of a variety of problems retrieving certificates and CRLs from a `CertStore`.
`class` | `CRLException` CRL (Certificate Revocation List) Exception.

Uses of Exception in java.security.spec

Subclasses of Exception in java.security.spec
`class` | `InvalidKeySpecException` This is the exception for invalid key specifications.
`class` | `InvalidParameterSpecException` This is the exception for invalid parameter specifications.

Uses of Exception in java.sql

Subclasses of Exception in java.sql
`class` | `BatchUpdateException` An exception thrown when an error occurs during a batch update operation.
`class` | `DataTruncation` An exception that reports a DataTruncation warning (on reads) or throws a DataTruncation exception (on writes) when JDBC unexpectedly truncates a data value.
`class` | `SQLException` An exception that provides information on a database access error or other errors.
`class` | `SQLWarning` An exception that provides information on database access warnings.

Uses of Exception in java.text

Subclasses of Exception in java.text
`class` | `ParseException` Signals that an error has been reached unexpectedly while parsing.

Uses of Exception in java.util

Subclasses of Exception 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.
`class` | `TooManyListenersException` The `TooManyListenersException` Exception is used as part of the Java Event model to annotate and implement a unicast special case of a multicast Event Source.

Uses of Exception in java.util.jar

Subclasses of Exception in java.util.jar
`class` | `JarException` Signals that an error of some sort has occurred while reading from or writing to a JAR file.

Uses of Exception in java.util.logging

Methods in java.util.logging with parameters of type Exception
`protected void` | `Handler.reportError(String msg, Exception ex, int code)` Protected convenience method to report an error to this Handler's ErrorManager.
`void` | `ErrorManager.error(String msg, Exception ex, int code)` The error method is called when a Handler failure occurs.

Uses of Exception in java.util.prefs

Subclasses of Exception in java.util.prefs
`class` | `BackingStoreException` Thrown to indicate that a preferences operation could not complete because of a failure in the backing store, or a failure to contact the backing store.
`class` | `InvalidPreferencesFormatException` Thrown to indicate that an operation could not complete because the input did not conform to the appropriate XML document type for a collection of preferences, as per the `Preferences` specification.

Uses of Exception in java.util.regex

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

Uses of Exception in java.util.zip

Subclasses of Exception in java.util.zip
`class` | `DataFormatException` Signals that a data format error has occurred.
`class` | `ZipException` Signals that a Zip exception of some sort has occurred.

Uses of Exception in javax.crypto

Subclasses of Exception in javax.crypto
`class` | `BadPaddingException` This exception is thrown when a particular padding mechanism is expected for the input data but the data is not padded properly.
`class` | `ExemptionMechanismException` This is the generic ExemptionMechanism exception.
`class` | `IllegalBlockSizeException` This exception is thrown when the length of data provided to a block cipher is incorrect, i.e., does not match the block size of the cipher.
`class` | `NoSuchPaddingException` This exception is thrown when a particular padding mechanism is requested but is not available in the environment.
`class` | `ShortBufferException` This exception is thrown when an output buffer provided by the user is too short to hold the operation result.

Uses of Exception in javax.imageio

Subclasses of Exception in javax.imageio
`class` | `IIOException` An exception class used for signaling run-time failure of reading and writing operations.

Uses of Exception in javax.imageio.metadata

Subclasses of Exception in javax.imageio.metadata
`class` | `IIOInvalidTreeException` An `IIOInvalidTreeException` is thrown when an attempt by an `IIOMetadata` object to parse a tree of `IIOMetadataNode`s fails.

Uses of Exception in javax.naming

Subclasses of Exception in javax.naming
`class` | `AuthenticationException` This exception is thrown when an authentication error occurs while accessing the naming or directory service.
`class` | `AuthenticationNotSupportedException` This exception is thrown when the particular flavor of authentication requested is not supported.
`class` | `CannotProceedException` This exception is thrown to indicate that the operation reached a point in the name where the operation cannot proceed any further.
`class` | `CommunicationException` This exception is thrown when the client is unable to communicate with the directory or naming service.
`class` | `ConfigurationException` This exception is thrown when there is a configuration problem.
`class` | `ContextNotEmptyException` This exception is thrown when attempting to destroy a context that is not empty.
`class` | `InsufficientResourcesException` This exception is thrown when resources are not available to complete the requested operation.
`class` | `InterruptedNamingException` This exception is thrown when the naming operation being invoked has been interrupted.
`class` | `InvalidNameException` This exception indicates that the name being specified does not conform to the naming syntax of a naming system.
`class` | `LimitExceededException` This exception is thrown when a method terminates abnormally due to a user or system specified limit.
`class` | `LinkException` This exception is used to describe problems encounter while resolving links.
`class` | `LinkLoopException` This exception is thrown when a loop was detected will attempting to resolve a link, or an implementation specific limit on link counts has been reached.
`class` | `MalformedLinkException` This exception is thrown when a malformed link was encountered while resolving or constructing a link.
`class` | `NameAlreadyBoundException` This exception is thrown by methods to indicate that a binding cannot be added because the name is already bound to another object.
`class` | `NameNotFoundException` This exception is thrown when a component of the name cannot be resolved because it is not bound.
`class` | `NamingException` This is the superclass of all exceptions thrown by operations in the Context and DirContext interfaces.
`class` | `NamingSecurityException` This is the superclass of security-related exceptions thrown by operations in the Context and DirContext interfaces.
`class` | `NoInitialContextException` This exception is thrown when no initial context implementation can be created.
`class` | `NoPermissionException` This exception is thrown when attempting to perform an operation for which the client has no permission.
`class` | `NotContextException` This exception is thrown when a naming operation proceeds to a point where a context is required to continue the operation, but the resolved object is not a context.
`class` | `OperationNotSupportedException` This exception is thrown when a context implementation does not support the operation being invoked.
`class` | `PartialResultException` This exception is thrown to indicate that the result being returned or returned so far is partial, and that the operation cannot be completed.
`class` | `ReferralException` This abstract class is used to represent a referral exception, which is generated in response to a referral such as that returned by LDAP v3 servers.
`class` | `ServiceUnavailableException` This exception is thrown when attempting to communicate with a directory or naming service and that service is not available.
`class` | `SizeLimitExceededException` This exception is thrown when a method produces a result that exceeds a size-related limit.
`class` | `TimeLimitExceededException` This exception is thrown when a method does not terminate within the specified time limit.

Uses of Exception in javax.naming.directory

Subclasses of Exception in javax.naming.directory
`class` | `AttributeInUseException` This exception is thrown when an operation attempts to add an attribute that already exists.
`class` | `AttributeModificationException` This exception is thrown when an attempt is made to add, or remove, or modify an attribute, its identifier, or its values that conflicts with the attribute's (schema) definition or the attribute's state.
`class` | `InvalidAttributeIdentifierException` This exception is thrown when an attempt is made to add to create an attribute with an invalid attribute identifier.
`class` | `InvalidAttributesException` This exception is thrown when an attempt is made to add or modify an attribute set that has been specified incompletely or incorrectly.
`class` | `InvalidAttributeValueException` This class is thrown when an attempt is made to add to an attribute a value that conflicts with the attribute's schema definition.
`class` | `InvalidSearchControlsException` This exception is thrown when the specification of the SearchControls for a search operation is invalid.
`class` | `InvalidSearchFilterException` This exception is thrown when the specification of a search filter is invalid.
`class` | `NoSuchAttributeException` This exception is thrown when attempting to access an attribute that does not exist.
`class` | `SchemaViolationException` This exception is thrown when a method in some ways violates the schema.

Uses of Exception in javax.naming.ldap

Subclasses of Exception in javax.naming.ldap
`class` | `LdapReferralException` This abstract class is used to represent an LDAP referral exception.

Uses of Exception in javax.naming.spi

Methods in javax.naming.spi that throw Exception
`Object` | `ObjectFactory.getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable environment)` Creates an object using the location or reference information specified.
`static Object` | `NamingManager.getObjectInstance(Object refInfo, Name name, Context nameCtx, Hashtable environment)` Creates an instance of an object for the specified object and environment.
`static Object` | `DirectoryManager.getObjectInstance(Object refInfo, Name name, Context nameCtx, Hashtable environment, Attributes attrs)` Creates an instance of an object for the specified object, attributes, and environment.
`Object` | `DirObjectFactory.getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable environment, Attributes attrs)` Creates an object using the location or reference information, and attributes specified.

Uses of Exception in javax.net.ssl

Subclasses of Exception in javax.net.ssl
`class` | `SSLException` Indicates some kind of error detected by an SSL subsystem.
`class` | `SSLHandshakeException` Indicates that the client and server could not negotiate the desired level of security.
`class` | `SSLKeyException` Reports a bad SSL key.
`class` | `SSLPeerUnverifiedException` Indicates that the peer's identity has not been verified.
`class` | `SSLProtocolException` Reports an error in the operation of the SSL protocol.

Uses of Exception in javax.print

Subclasses of Exception in javax.print
`class` | `PrintException` Class PrintException encapsulates a printing-related error condition that occurred while using a Print Service instance.

Constructors in javax.print with parameters of type Exception
`PrintException(Exception e)` Construct a print exception chaining the supplied exception.
`PrintException(String s, Exception e)` Construct a print exception with the given detail message and chained exception.

Uses of Exception in javax.print.attribute

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

Uses of Exception in javax.security.auth

Subclasses of Exception in javax.security.auth
`class` | `DestroyFailedException` Signals that a `destroy` operation failed.
`class` | `RefreshFailedException` Signals that a `refresh` operation failed.

Uses of Exception in javax.security.auth.callback

Subclasses of Exception in javax.security.auth.callback
`class` | `UnsupportedCallbackException` Signals that a `CallbackHandler` does not recognize a particular `Callback`.

Uses of Exception in javax.security.auth.login

Subclasses of Exception in javax.security.auth.login
`class` | `AccountExpiredException` Signals that a user account has expired.
`class` | `CredentialExpiredException` Signals that a `Credential` has expired.
`class` | `FailedLoginException` Signals that user authentication failed.
`class` | `LoginException` This is the basic login exception.

Uses of Exception in javax.security.cert

Subclasses of Exception in javax.security.cert
`class` | `CertificateEncodingException` Certificate Encoding Exception.
`class` | `CertificateException` This exception indicates one of a variety of certificate problems.
`class` | `CertificateExpiredException` Certificate Expired Exception.
`class` | `CertificateNotYetValidException` Certificate is not yet valid exception.
`class` | `CertificateParsingException` Certificate Parsing Exception.

Uses of Exception in javax.sound.midi

Subclasses of Exception in javax.sound.midi
`class` | `InvalidMidiDataException` An `InvalidMidiDataException` indicates that inappropriate MIDI data was encountered.
`class` | `MidiUnavailableException` A `MidiUnavailableException` is thrown when a requested MIDI component cannot be opened or created because it is unavailable.

Uses of Exception in javax.sound.sampled

Subclasses of Exception in javax.sound.sampled
`class` | `LineUnavailableException` A `LineUnavailableException` is an exception indicating that a line cannot be opened because it is unavailable.
`class` | `UnsupportedAudioFileException` An `UnsupportedAudioFileException` is an exception indicating that an operation failed because a file did not contain valid data of a recognized file type and format.

Uses of Exception in javax.swing

Subclasses of Exception in javax.swing
`class` | `UnsupportedLookAndFeelException` An exception that indicates the request look & feel management classes are not present on the user's system.

Uses of Exception in javax.swing.text

Subclasses of Exception in javax.swing.text
`class` | `BadLocationException` This exception is to report bad locations within a document model (that is, attempts to reference a location that doesn't exist).
`class` | `ChangedCharSetException` ChangedCharSetException as the name indicates is an exception thrown when the charset is changed.

Uses of Exception in javax.swing.tree

Subclasses of Exception in javax.swing.tree
`class` | `ExpandVetoException` Exception used to stop and expand/collapse from happening.

Uses of Exception in javax.swing.undo

Subclasses of Exception 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 Exception in javax.transaction

Subclasses of Exception in javax.transaction
`class` | `InvalidTransactionException` This exception indicates that the request carried an invalid transaction context.
`class` | `TransactionRequiredException` This exception indicates that a request carried a null transaction context, but the target object requires an activate transaction.
`class` | `TransactionRolledbackException` This exception indicates that the transaction associated with processing of the request has been rolled back, or marked to roll back.

Uses of Exception in javax.transaction.xa

Subclasses of Exception in javax.transaction.xa
`class` | `XAException` The XAException is thrown by the Resource Manager (RM) to inform the Transaction Manager of an error encountered by the involved transaction.

Uses of Exception in javax.xml.parsers

Subclasses of Exception in javax.xml.parsers
`class` | `ParserConfigurationException` Indicates a serious configuration error.

Methods in javax.xml.parsers that return Exception
`Exception` | `FactoryConfigurationError.getException()` Return the actual exception (if any) that caused this exception to be raised.

Constructors in javax.xml.parsers with parameters of type Exception
`FactoryConfigurationError(Exception e)` Create a new `FactoryConfigurationError` with a given `Exception` base cause of the error.
`FactoryConfigurationError(Exception e, String msg)` Create a new `FactoryConfigurationError` with the given `Exception` base cause and detail message.

Uses of Exception in javax.xml.transform

Subclasses of Exception in javax.xml.transform
`class` | `TransformerConfigurationException` Indicates a serious configuration error.
`class` | `TransformerException` This class specifies an exceptional condition that occured during the transformation process.

Methods in javax.xml.transform that return Exception
`Exception` | `TransformerFactoryConfigurationError.getException()` Return the actual exception (if any) that caused this exception to be raised.

Constructors in javax.xml.transform with parameters of type Exception
`TransformerFactoryConfigurationError(Exception e)` Create a new `TransformerFactoryConfigurationError` with a given `Exception` base cause of the error.
`TransformerFactoryConfigurationError(Exception e, String msg)` Create a new `TransformerFactoryConfigurationError` with the given `Exception` base cause and detail message.

Uses of Exception in org.ietf.jgss

Subclasses of Exception in org.ietf.jgss
`class` | `GSSException` This exception is thrown whenever a GSS-API error occurs, including any mechanism specific error.

Uses of Exception in org.omg.CORBA

Subclasses of Exception 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` | `Bounds` A user exception thrown when a parameter is not within the legal bounds for the object that a method is trying to access.
`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` | `PolicyError` A user exception thrown when a policy error occurs.
`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.
`class` | `UnknownUserException` A class that contains user exceptions returned by the server.
`class` | `UserException` The root class for CORBA IDL-defined user exceptions.
`class` | `WrongTransaction` The CORBA `WrongTransaction` user-defined exception.

Methods in org.omg.CORBA that return Exception
`abstract Exception` | `Environment.exception()` Retrieves the exception in this `Environment` object.

Methods in org.omg.CORBA with parameters of type Exception
`abstract void` | `Environment.exception(Exception except)` Inserts the given exception into this `Environment` object.

Uses of Exception in org.omg.CORBA.DynAnyPackage

Subclasses of Exception in org.omg.CORBA.DynAnyPackage
`class` | `Invalid` Invalid is thrown by dynamic any operations when a bad `DynAny` or `Any` is passed as a parameter.
`class` | `InvalidSeq` The InvalidSeq exception is thrown by all operations on dynamic anys that take a sequence (Java array) as an argument, when that sequence is invalid.
`class` | `InvalidValue`
`class` | `TypeMismatch` TypeMismatch is thrown by dynamic any accessor methods when type of the actual contents do not match what is trying to be accessed.

Uses of Exception in org.omg.CORBA.ORBPackage

Subclasses of Exception in org.omg.CORBA.ORBPackage
`class` | `InconsistentTypeCode` InconsistentTypeCode is thrown when an attempt is made to create a dynamic any with a type code that does not match the particular subclass of `DynAny`.
`class` | `InvalidName` The `InvalidName` exception is raised when `ORB.resolve_initial_references` is passed a name for which there is no initial reference.

Uses of Exception in org.omg.CORBA.portable

Subclasses of Exception in org.omg.CORBA.portable
`class` | `ApplicationException` This class is used for reporting application level exceptions between ORBs and stubs.
`class` | `IndirectionException` The Indirection exception is a Java specific system exception.
`class` | `RemarshalException` This class is used for reporting locate forward exceptions and object forward GIOP messages back to the ORB.
`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 Exception in org.omg.CORBA.TypeCodePackage

Subclasses of Exception in org.omg.CORBA.TypeCodePackage
`class` | `BadKind` The exception `BadKind` is thrown when an inappropriate operation is invoked on a `TypeCode` object.

Uses of Exception in org.omg.CosNaming.NamingContextExtPackage

Subclasses of Exception in org.omg.CosNaming.NamingContextExtPackage
`class` | `InvalidAddress` org/omg/CosNaming/NamingContextExtPackage/InvalidAddress.java .

Uses of Exception in org.omg.CosNaming.NamingContextPackage

Subclasses of Exception in org.omg.CosNaming.NamingContextPackage
`class` | `AlreadyBound` org/omg/CosNaming/NamingContextPackage/AlreadyBound.java .
`class` | `CannotProceed` org/omg/CosNaming/NamingContextPackage/CannotProceed.java .
`class` | `NotEmpty` org/omg/CosNaming/NamingContextPackage/NotEmpty.java .
`class` | `NotFound` org/omg/CosNaming/NamingContextPackage/NotFound.java .

Uses of Exception in org.omg.IOP.CodecFactoryPackage

Subclasses of Exception in org.omg.IOP.CodecFactoryPackage
`class` | `UnknownEncoding` org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java .

Uses of Exception in org.omg.IOP.CodecPackage

Subclasses of Exception in org.omg.IOP.CodecPackage
`class` | `FormatMismatch` org/omg/IOP/CodecPackage/FormatMismatch.java .
`class` | `InvalidTypeForEncoding` org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java .

Uses of Exception in org.omg.PortableInterceptor

Subclasses of Exception in org.omg.PortableInterceptor
`class` | `InvalidSlot` org/omg/PortableInterceptor/InvalidSlot.java .

Uses of Exception in org.omg.PortableInterceptor.ORBInitInfoPackage

Subclasses of Exception in org.omg.PortableInterceptor.ORBInitInfoPackage
`class` | `DuplicateName` org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java .

Uses of Exception in org.omg.PortableServer

Subclasses of Exception in org.omg.PortableServer
`class` | `ForwardRequest` org/omg/PortableServer/ForwardRequest.java .

Uses of Exception in org.omg.PortableServer.CurrentPackage

Subclasses of Exception in org.omg.PortableServer.CurrentPackage
`class` | `NoContext` org/omg/PortableServer/CurrentPackage/NoContext.java .

Uses of Exception in org.omg.PortableServer.POAManagerPackage

Subclasses of Exception in org.omg.PortableServer.POAManagerPackage
`class` | `AdapterInactive` org/omg/PortableServer/POAManagerPackage/AdapterInactive.java .

Uses of Exception in org.omg.PortableServer.POAPackage

Subclasses of Exception in org.omg.PortableServer.POAPackage
`class` | `AdapterAlreadyExists` org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java .
`class` | `AdapterNonExistent` org/omg/PortableServer/POAPackage/AdapterNonExistent.java .
`class` | `InvalidPolicy` org/omg/PortableServer/POAPackage/InvalidPolicy.java .
`class` | `NoServant` org/omg/PortableServer/POAPackage/NoServant.java .
`class` | `ObjectAlreadyActive` org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java .
`class` | `ObjectNotActive` org/omg/PortableServer/POAPackage/ObjectNotActive.java .
`class` | `ServantAlreadyActive` org/omg/PortableServer/POAPackage/ServantAlreadyActive.java .
`class` | `ServantNotActive` org/omg/PortableServer/POAPackage/ServantNotActive.java .
`class` | `WrongAdapter` org/omg/PortableServer/POAPackage/WrongAdapter.java .
`class` | `WrongPolicy` org/omg/PortableServer/POAPackage/WrongPolicy.java .

Uses of Exception in org.w3c.dom

Subclasses of Exception 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).

Uses of Exception in org.xml.sax

Subclasses of Exception in org.xml.sax
`class` | `SAXException` Encapsulate a general SAX error or warning.
`class` | `SAXNotRecognizedException` Exception class for an unrecognized identifier.
`class` | `SAXNotSupportedException` Exception class for an unsupported operation.
`class` | `SAXParseException` Encapsulate an XML parse error or warning.

Methods in org.xml.sax that return Exception
`Exception` | `SAXException.getException()` Return the embedded exception, if any.

Constructors in org.xml.sax with parameters of type Exception
`SAXParseException(String message, Locator locator, Exception e)` Wrap an existing exception in a SAXParseException.
`SAXParseException(String message, String publicId, String systemId, int lineNumber, int columnNumber, Exception e)` Create a new SAXParseException with an embedded exception.
`SAXException(Exception e)` Create a new SAXException wrapping an existing exception.
`SAXException(String message, Exception e)` Create a new SAXException from an existing exception.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

JavaTM 2 Platform
Std. Ed. v1.4.1_"07"

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.