JavaTM 2 Platform
Std. Ed. v1.3

Uses of Class
java.lang.Throwable

Packages that use Throwable
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.geom Provides the Java 2D classes for defining and performing operations on objects related to two-dimensional geometry. 
java.awt.image Provides classes for creating and modifying images. 
java.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.rmi.CORBA Contains portability APIs for RMI-IIOP. 
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 Throwable in java.awt
 

Subclasses of Throwable in java.awt
 class AWTError
          Thrown when a serious Abstract Window Toolkit error has occurred.
 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.
 

Methods in java.awt that throw Throwable
protected  void Font.finalize()
          Disposes the native Font object.
protected  void Window.finalize()
          Disposes of the input methods and context, and removes the WeakReference which formerly pointed to this Window from the parent's owned Window list.
protected  void Cursor.finalize()
           
protected  void Frame.finalize()
          We have to remove the (hard) reference to weakThis in the Vector, otherwise the WeakReference instance will never get garbage collected.
protected  void AWTEvent.finalize()
           
 

Uses of Throwable in java.awt.color
 

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

Subclasses of Throwable 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 Throwable in java.awt.dnd
 

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

Uses of Throwable in java.awt.geom
 

Subclasses of Throwable 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 Throwable in java.awt.image
 

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

Subclasses of Throwable 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 Throwable in java.beans
 

Subclasses of Throwable 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 Throwable in java.io
 

Subclasses of Throwable 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.
 

Uses of Throwable in java.lang
 

Subclasses of Throwable in java.lang
 class AbstractMethodError
          Thrown when an application tries to call an abstract method.
 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 ClassCircularityError
          Thrown when a circularity has been detected while initializing a class.
 class ClassFormatError
          Thrown when the Java Virtual Machine attempts to read a class file and determines that the file is malformed or otherwise cannot be interpreted as a class file.
 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 Error
          An Error is a subclass of Throwable that indicates serious problems that a reasonable application should not try to catch.
 class Exception
          The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch.
 class ExceptionInInitializerError
          Signals that an unexpected exception has occurred in a static initializer.
 class IllegalAccessError
          Thrown if an application attempts to access or modify a field, or to call a method that it does not have access to.
 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 IncompatibleClassChangeError
          Thrown when an incompatible class change has occurred to some class definition.
 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 InstantiationError
          Thrown when an application tries to use the Java new construct to instantiate an abstract class or an interface.
 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 InternalError
          Thrown to indicate some unexpected internal error has occurred in the Java Virtual Machine.
 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 LinkageError
          Subclasses of LinkageError indicate that a class has some dependency on another class; however, the latter class has incompatibly changed after the compilation of the former class.
 class NegativeArraySizeException
          Thrown if an application tries to create an array with negative size.
 class NoClassDefFoundError
          Thrown if the Java Virtual Machine or a classloader tries to load in the definition of a class (as part of a normal method call or as part of creating a new instance using the new expression) and no definition of the class could be found.
 class NoSuchFieldError
          Thrown if an application tries to access or modify a specified field of an object, and that object no longer has that field.
 class NoSuchFieldException
          Signals that the class doesn't have a field of a specified name.
 class NoSuchMethodError
          Thrown if an application tries to call a specified method of a class (either static or instance), and that class no longer has a definition of that method.
 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 OutOfMemoryError
          Thrown when the Java Virtual Machine cannot allocate an object because it is out of memory, and no more memory could be made available by the garbage collector.
 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 StackOverflowError
          Thrown when a stack overflow occurs because an application recurses too deeply.
 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 ThreadDeath
          An instance of ThreadDeath is thrown in the victim thread when the stop method with zero arguments in class Thread is called.
 class UnknownError
          Thrown when an unknown but serious exception has occurred in the Java Virtual Machine.
 class UnsatisfiedLinkError
          Thrown if the Java Virtual Machine cannot find an appropriate native-language definition of a method declared native.
 class UnsupportedClassVersionError
          Thrown when the Java Virtual Machine attempts to read a class file and determines that the major and minor version numbers in the file are not supported.
 class UnsupportedOperationException
          Thrown to indicate that the requested operation is not supported.
 class VerifyError
          Thrown when the "verifier" detects that a class file, though well formed, contains some sort of internal inconsistency or security problem.
 class VirtualMachineError
          Thrown to indicate that the Java Virtual Machine is broken or has run out of resources necessary for it to continue operating.
 

Methods in java.lang that return Throwable
 Throwable Throwable.fillInStackTrace()
          Fills in the execution stack trace.
 Throwable ExceptionInInitializerError.getException()
          Returns the exception that occurred during a static initialization that caused this Error to be created.
 Throwable ClassNotFoundException.getException()
          Returns the exception that was raised if an error occurred while attempting to load the class.
 

Methods in java.lang with parameters of type Throwable
 void ThreadGroup.uncaughtException(Thread t, Throwable e)
          Called by the Java Virtual Machine when a thread in this thread group stops because of an uncaught exception.
 void Thread.stop(Throwable obj)
          Deprecated. This method is inherently unsafe. See Thread.stop() (with no arguments) for details. An additional danger of this method is that it may be used to generate exceptions that the target thread is unprepared to handle (including checked exceptions that the thread could not possibly throw, were it not for this method). For more information, see Why are Thread.stop, Thread.suspend and Thread.resume Deprecated?.
 

Methods in java.lang that throw Throwable
protected  void Object.finalize()
          Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
 

Constructors in java.lang with parameters of type Throwable
ExceptionInInitializerError(Throwable thrown)
          Constructs a new ExceptionInInitializerError class by saving a reference to the Throwable object thrown for later retrieval by the ExceptionInInitializerError.getException() method.
ClassNotFoundException(String s, Throwable ex)
          Constructs a ClassNotFoundException with the specified detail message and optional exception that was raised while loading the class.
 

Uses of Throwable in java.lang.reflect
 

Subclasses of Throwable 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.
 

Methods in java.lang.reflect that return Throwable
 Throwable InvocationTargetException.getTargetException()
          Get the thrown target exception.
 Throwable UndeclaredThrowableException.getUndeclaredThrowable()
          Returns the Throwable instance wrapped in this UndeclaredThrowableException.
 

Methods in java.lang.reflect that throw Throwable
 Object InvocationHandler.invoke(Object proxy, Method method, Object[] args)
          Processes a method invocation on a proxy instance and returns the result.
 

Constructors in java.lang.reflect with parameters of type Throwable
InvocationTargetException(Throwable target)
          Constructs a InvocationTargetException with a target exception.
InvocationTargetException(Throwable target, String s)
          Constructs a InvocationTargetException with a target exception and a detail message.
UndeclaredThrowableException(Throwable undeclaredThrowable)
          Constructs an UndeclaredThrowableException with the specifed Throwable.
UndeclaredThrowableException(Throwable undeclaredThrowable, String s)
          Constructs an UndeclaredThrowableException with the specified Throwable and a detail message.
 

Uses of Throwable in java.net
 

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

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

Fields in java.rmi declared as Throwable
 Throwable RemoteException.detail
          Nested Exception to hold wrapped remote exception.
 

Constructors in java.rmi with parameters of type Throwable
RemoteException(String s, Throwable ex)
          Constructs a RemoteException with the specified detail message and nested exception.
 

Uses of Throwable in java.rmi.activation
 

Subclasses of Throwable 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.
 

Fields in java.rmi.activation declared as Throwable
 Throwable ActivationException.detail
          Nested Exception to hold wrapped remote exceptions.
 

Constructors in java.rmi.activation with parameters of type Throwable
ActivationException(String s, Throwable ex)
          Constructs an ActivationException with detail message, s, and detail exception ex.
 

Uses of Throwable in java.rmi.server
 

Subclasses of Throwable 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.
 

Uses of Throwable in java.security
 

Subclasses of Throwable 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.
 

Uses of Throwable in java.security.acl
 

Subclasses of Throwable 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 Throwable in java.security.cert
 

Subclasses of Throwable 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 Throwable in java.security.spec
 

Subclasses of Throwable 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 Throwable in java.sql
 

Subclasses of Throwable 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 Throwable in java.text
 

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

Uses of Throwable in java.util
 

Subclasses of Throwable 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 Throwable in java.util.jar
 

Subclasses of Throwable 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 Throwable in java.util.zip
 

Subclasses of Throwable 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 Throwable in javax.naming
 

Subclasses of Throwable 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.
 

Fields in javax.naming declared as Throwable
protected  Throwable NamingException.rootException
          Contains the original exception that caused this NamingException to be thrown.
 

Methods in javax.naming that return Throwable
 Throwable NamingException.getRootCause()
          Retrieves the root cause of this NamingException, if any.
 

Methods in javax.naming with parameters of type Throwable
 void NamingException.setRootCause(Throwable e)
          Records that the root cause of this NamingException.
 

Uses of Throwable in javax.naming.directory
 

Subclasses of Throwable 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 Throwable in javax.naming.ldap
 

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

Uses of Throwable in javax.rmi.CORBA
 

Methods in javax.rmi.CORBA with parameters of type Throwable
static RemoteException Util.wrapException(Throwable orig)
          Wraps an exception thrown by an implementation method.
 RemoteException UtilDelegate.wrapException(Throwable obj)
          Delegation call for Util.wrapException(java.lang.Throwable).
 

Uses of Throwable in javax.sound.midi
 

Subclasses of Throwable 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 Throwable in javax.sound.sampled
 

Subclasses of Throwable 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 Throwable in javax.swing
 

Subclasses of Throwable 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 Throwable in javax.swing.text
 

Subclasses of Throwable 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.
 

Methods in javax.swing.text that throw Throwable
protected  void AbstractDocument.AbstractElement.finalize()
          Finalizes an AbstractElement.
 

Uses of Throwable in javax.swing.tree
 

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

Uses of Throwable in javax.swing.undo
 

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

Subclasses of Throwable 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 Throwable in org.omg.CORBA
 

Subclasses of Throwable 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.
 

Uses of Throwable in org.omg.CORBA.DynAnyPackage
 

Subclasses of Throwable 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 Throwable in org.omg.CORBA.ORBPackage
 

Subclasses of Throwable 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 Throwable in org.omg.CORBA.portable
 

Subclasses of Throwable 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.
 

Fields in org.omg.CORBA.portable declared as Throwable
 Throwable UnknownException.originalEx
          A throwable--the original exception that was wrapped in a CORBA UnknownException.
 

Constructors in org.omg.CORBA.portable with parameters of type Throwable
UnknownException(Throwable ex)
          Constructs an UnknownException object.
 

Uses of Throwable in org.omg.CORBA.TypeCodePackage
 

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

Uses of Throwable in org.omg.CosNaming.NamingContextPackage
 

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


JavaTM 2 Platform
Std. Ed. v1.3

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 Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.