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

 

 

 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.
 

 

 

 class CMMException
    Thrown if the native CMM returns an error.
 class ProfileDataException
    Thrown when an error occurs in accessing or processing an ICC_Profile object.
 

 

 

 class MimeTypeParseException
    A class to encapsulate MimeType parsing related exceptions
 class UnsupportedFlavorException
    Signals that the requested data is not supported in this flavor.
 

 

 

 class InvalidDnDOperationException
    Thrown by various methods in the java.awt.dnd package.
 

 

 

 Exception InvocationEvent.getException()
    Returns any Exception caught while executing the Runnable's run() method.
 

 

 

 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.
 

 

 

 InputMethod InputMethodDescriptor.createInputMethod()
    Creates a new instance of the corresponding input method.
 

 

 

 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.
 

 

 

 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.
 

 

 

 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.
 

 void ExceptionListener.exceptionThrown(Exception e)
    This method is called when a recoverable exception has been caught.
 

 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.
 

 

 

 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.
 

 Exception WriteAbortedException.detail
    Exception that was caught while writing the ObjectStream.
 

WriteAbortedException(String s, Exception ex)
    Constructs a WriteAbortedException with a string describing the exception and the exception causing the abort.
 

 

 

 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.
 

 

 

 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.
 

 

 

 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.
 

 

 

 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.
 

 

 

 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.
 

 

 

 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.
 

CoderMalfunctionError(Exception cause)
    Initializes an instance of this class.
 

 

 

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

UnexpectedException(String s, Exception ex)
    Constructs a UnexpectedException with the specified detail message and nested exception.
ServerRuntimeException(String s, Exception ex)
    Deprecated. no replacement
AccessException(String s, Exception ex)
    Constructs an AccessException with the specified detail message and nested exception.
UnknownHostException(String s, Exception ex)
    Constructs an UnknownHostException 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.
StubNotFoundException(String s, Exception ex)
    Constructs a StubNotFoundException with the specified detail message and nested exception.
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.
UnmarshalException(String s, Exception ex)
    Constructs an UnmarshalException with the specified detail message and nested exception.
 

 

 

 class ActivateFailedException
    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.
 

ActivateFailedException(String s, Exception ex)
    Constructs an ActivateFailedException with the specified detail message and nested exception.
 

 

 

 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.
 

 Exception ServerCloneException.detail
    Nested exception for ServerCloneException.
 

 boolean RMIFailureHandler.failure(Exception ex)
    The failure callback is invoked when the RMI runtime is unable to create a ServerSocket via the RMISocketFactory.
 

 void Skeleton.dispatch(Remote obj, RemoteCall theCall, int opnum, long hash)
    Deprecated. no replacement
 void RemoteCall.executeCall()
    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.

 

SocketSecurityException(String s, Exception ex)
    Constructs an SocketSecurityException with the specified detail message and nested exception.
ServerCloneException(String s, Exception ex)
    Constructs an ServerCloneException 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.
ExportException(String s, Exception ex)
    Constructs an ExportException with the specified detail message and nested exception.
 

 

 

 class AccessControlException
     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
    Thrown when a particular cryptographic algorithm is requested but is not available in the environment.
 class NoSuchProviderException
    Thrown when a particular security provider is requested but is not available in the environment.
 class PrivilegedActionException
    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
    Thrown if a key in the keystore cannot be recovered.
 

 Exception PrivilegedActionException.getException()
    Returns the exception thrown by the privileged computation that resulted in this PrivilegedActionException.
 

 Object PrivilegedExceptionAction.run()
    Performs the computation.
 

PrivilegedActionException(Exception exception)
    Constructs a new PrivilegedActionException "wrapping" the specific Exception.
 

 

 

 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.
 

 

 

 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.
 

 

 

 class InvalidKeySpecException
    This is the exception for invalid key specifications.
 class InvalidParameterSpecException
    This is the exception for invalid parameter specifications.
 

 

 

 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.
 

 

 

 class ParseException
    Signals that an error has been reached unexpectedly while parsing.
 

 

 

 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.
 

jar">

 

 

 class JarException
    Signals that an error of some sort has occurred while reading from or writing to a JAR file.
 

 

 

 void ErrorManager.error(String msg, Exception ex, int code)
    The error method is called when a Handler failure occurs.
protected  void Handler.reportError(String msg, Exception ex, int code)
    Protected convenience method to report an error to this Handler's ErrorManager.
 

 

 

 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.
 

 

 

 class PatternSyntaxException
    Unchecked exception thrown to indicate a syntax error in a regular-expression pattern.
 

 

 

 class DataFormatException
    Signals that a data format error has occurred.
 class ZipException
    Signals that a Zip exception of some sort has occurred.
 

 

 

 class BadPaddingException
    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
    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
    Thrown when a particular padding mechanism is requested but is not available in the environment.
 class ShortBufferException
    Thrown when an output buffer provided by the user is too short to hold the operation result.
 

 

 

 class IIOException
    An exception class used for signaling run-time failure of reading and writing operations.
 

 

 

 class IIOInvalidTreeException
    An IIOInvalidTreeException is thrown when an attempt by an IIOMetadata object to parse a tree of IIOMetadataNodes fails.
 

 

 

 class AuthenticationException
    Thrown when an authentication error occurs while accessing the naming or directory service.
 class AuthenticationNotSupportedException
    Thrown when the particular flavor of authentication requested is not supported.
 class CannotProceedException
    Thrown to indicate that the operation reached a point in the name where the operation cannot proceed any further.
 class CommunicationException
    Thrown when the client is unable to communicate with the directory or naming service.
 class ConfigurationException
    Thrown when there is a configuration problem.
 class ContextNotEmptyException
    Thrown when attempting to destroy a context that is not empty.
 class InsufficientResourcesException
    Thrown when resources are not available to complete the requested operation.
 class InterruptedNamingException
    Thrown when the naming operation being invoked has been interrupted.
 class InvalidNameException
    Indicates that the name being specified does not conform to the naming syntax of a naming system.
 class LimitExceededException
    Thrown when a method terminates abnormally due to a user or system specified limit.
 class LinkException
    Used to describe problems encounter while resolving links.
 class LinkLoopException
    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
    Thrown when a malformed link was encountered while resolving or constructing a link.
 class NameAlreadyBoundException
    Thrown by methods to indicate that a binding cannot be added because the name is already bound to another object.
 class NameNotFoundException
    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
    Thrown when no initial context implementation can be created.
 class NoPermissionException
    Thrown when attempting to perform an operation for which the client has no permission.
 class NotContextException
    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
    Thrown when a context implementation does not support the operation being invoked.
 class PartialResultException
    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
    Thrown when attempting to communicate with a directory or naming service and that service is not available.
 class SizeLimitExceededException
    Thrown when a method produces a result that exceeds a size-related limit.
 class TimeLimitExceededException
    Thrown when a method does not terminate within the specified time limit.
 

 

 

 class AttributeInUseException
    Thrown when an operation attempts to add an attribute that already exists.
 class AttributeModificationException
    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
    Thrown when an attempt is made to add to create an attribute with an invalid attribute identifier.
 class InvalidAttributesException
    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
    Thrown when the specification of the SearchControls for a search operation is invalid.
 class InvalidSearchFilterException
    Thrown when the specification of a search filter is invalid.
 class NoSuchAttributeException
    Thrown when attempting to access an attribute that does not exist.
 class SchemaViolationException
    Thrown when a method in some ways violates the schema.
 

 

 

 class LdapReferralException
    This abstract class is used to represent an LDAP referral exception.
 

 

 

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

 

 

 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.
 

 

 

 class PrintException
    Class PrintException encapsulates a printing-related error condition that occurred while using a Print Service instance.
 

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.
 

 

 

 class UnmodifiableSetException
    Thrown to indicate that the requested operation cannot be performed becasue the set is unmodifiable.
 

 

 

 class DestroyFailedException
    Signals that a destroy operation failed.
 class RefreshFailedException
    Signals that a refresh operation failed.
 

 

 

 class UnsupportedCallbackException
    Signals that a CallbackHandler does not recognize a particular Callback.
 

 

 

 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.
 

 

 

 class CertificateEncodingException
    Certificate Encoding Exception.
 class CertificateException
    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.
 

 

 

 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.
 

 

 

 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.
 

 

 

 class UnsupportedLookAndFeelException
    An exception that indicates the request look & feel management classes are not present on the user's system.
 

 

 

 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.
 

 

 

 class ExpandVetoException
    Exception used to stop and expand/collapse from happening.
 

 

 

 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.
 

 

 

 class InvalidTransactionException
    Indicates that the request carried an invalid transaction context.
 class TransactionRequiredException
    Indicates that a request carried a null transaction context, but the target object requires an activate transaction.
 class TransactionRolledbackException
    Indicates that the transaction associated with processing of the request has been rolled back, or marked to roll back.
 

 

 

 class XAException
    The XAException is thrown by the Resource Manager (RM) to inform the Transaction Manager of an error encountered by the involved transaction.
 

 

 

 class ParserConfigurationException
    Indicates a serious configuration error.
 

 Exception FactoryConfigurationError.getException()
    Return the actual exception (if any) that caused this exception to be raised.
 

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.
 

 

 

 class TransformerConfigurationException
    Indicates a serious configuration error.
 class TransformerException
    This class specifies an exceptional condition that occured during the transformation process.
 

 Exception TransformerFactoryConfigurationError.getException()
    Return the actual exception (if any) that caused this exception to be raised.
 

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.
 

 

 

 class GSSException
    Thrown whenever a GSS-API error occurs, including any mechanism specific error.
 

 

 

 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
    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
    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
    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
    Indicates that an IDL identifier is syntactically invalid.
 class INV_OBJREF
    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
    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
    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.
 

abstract  Exception Environment.exception()
    Retrieves the exception in this Environment object.
 

abstract  void Environment.exception(Exception except)
    Inserts the given exception into this Environment object.
 

 

 

 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.
 

 

 

 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.
 

 

 

 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.
 

 

 

 class BadKind
    The exception BadKind is thrown when an inappropriate operation is invoked on a TypeCode object.
 

 

 

 class InvalidAddress
    org/omg/CosNaming/NamingContextExtPackage/InvalidAddress.java .
 

 

 

 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 .
 

 

 

 class UnknownEncoding
    org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java .
 

 

 

 class FormatMismatch
    org/omg/IOP/CodecPackage/FormatMismatch.java .
 class InvalidTypeForEncoding
    org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java .
 

 

 

 class InvalidSlot
    org/omg/PortableInterceptor/InvalidSlot.java .
 

 

 

 class DuplicateName
    org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java .
 

 

 

 class ForwardRequest
    org/omg/PortableServer/ForwardRequest.java .
 

 

 

 class NoContext
    org/omg/PortableServer/CurrentPackage/NoContext.java .
 

 

 

 class AdapterInactive
    org/omg/PortableServer/POAManagerPackage/AdapterInactive.java .
 

 

 

 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 .
 

 

 

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

 

 

 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.
 

 Exception SAXException.getException()
    Return the embedded exception, if any.
 

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.