JavaTM 2 Platform
Std. Ed. v1.3.1

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 Java Beans development. 
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.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. 
java.security.spec Provides classes and interfaces for key specifications and algorithm parameter specifications. 
java.sql Provides the API for accessing and processing data in a data source 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.zip Provides classes for reading and writing the standard ZIP and GZIP file formats. 
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.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 Provides support for undo/redo capabilities in an application such as a text editor. 
javax.transaction Contains three exceptions thrown by the ORB machinery during unmarshalling. 
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.NamingContextPackage Provides the exceptions used in the package org.omg.CosNaming (AlreadyBound, CannotProceed, InvalidName, NotEmpty, and NotFound) and also the Helper and Holder classes for those exceptions. 
 

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

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
          Unexpected data appeared in an ObjectInputStream trying to read an Object.
 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)
          Thrown during a read operation when one of the ObjectStreamExceptions was thrown during a write operation.
 

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
          Thrown when an application tries to load in a class, but the currently executing method does not have access to the definition of the specified class, because the class is not public and in another package.
 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 the charAt method in class String and by other String methods to indicate that an index is either negative or greater than or equal to the size of the string.
 class UnsupportedOperationException
          Thrown to indicate that the requested operation is not supported.
 

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

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. no replacement. RMISecurityManager no longer throws this subclass of java.lang.SecurityException.
 class ServerError
          A ServerError is thrown as a result of a remote method call if the execution of the remote method on the server machine throws a java.lang.Error.
 class ServerException
          A ServerException is thrown as a result of a remote method call if the execution of the remote method on the server machine throws a RemoteException.
 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
ConnectException(String s, Exception ex)
          Constructs a ConnectException with the specified detail message and nested exception.
ConnectIOException(String s, Exception ex)
          Constructs a ConnectIOException with the specified detail message and nested exception.
UnmarshalException(String s, Exception ex)
          Constructs an UnmarshalException with the specified detail message and nested exception.
UnexpectedException(String s, Exception ex)
          Constructs a UnexpectedException with the specified detail message and nested exception.
AccessException(String s, Exception ex)
          Constructs an AccessException 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.
UnknownHostException(String s, Exception ex)
          Constructs an UnknownHostException with the specified detail message and nested exception.
ServerRuntimeException(String s, Exception ex)
          Deprecated. no replacement
MarshalException(String s, Exception ex)
          Constructs a MarshalException 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
 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
 void Skeleton.dispatch(Remote obj, RemoteCall theCall, int opnum, long hash)
          Deprecated. no replacement
 

Constructors in java.rmi.server with parameters of type Exception
ExportException(String s, Exception ex)
          Constructs an ExportException with the specified detail message and nested exception.
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.
 

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 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 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.
 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 a backing object when such modification is not permissible.
 class EmptyStackException
          Thrown by methods in the Stack class to indicate that the stack is empty.
 class MissingResourceException
          Signals that a resource is missing.
 class NoSuchElementException
          Thrown by the nextElement method of an Enumeration to indicate that there are no more elements in the enumeration.
 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.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.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 communcate 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.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 org.omg.CORBA
 

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

Subclasses of Exception in org.omg.CosNaming.NamingContextPackage
 class AlreadyBound
           
 class CannotProceed
           
 class NotEmpty
           
 class NotFound
           
 


JavaTM 2 Platform
Std. Ed. v1.3.1

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

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