|
Java™ Platform Standard Ed. 7 DRAFT ea-b30 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| 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.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.image | Provides classes for creating and modifying images. |
| java.awt.print | Provides classes and interfaces for a general printing API. |
| java.beans | Contains classes related to developing beans -- components based on the JavaBeansTM architecture. |
| java.io | Provides for system input and output through data streams, serialization and the file system. |
| java.lang | Provides classes that are fundamental to the design of the Java programming language. |
| java.lang.annotation | Provides library support for the Java programming language annotation facility. |
| java.lang.instrument | Provides services that allow Java programming language agents to instrument programs running on the JVM. |
| java.lang.reflect | Provides classes and interfaces for obtaining reflective information about classes and objects. |
| java.net | Provides the classes for implementing networking applications. |
| java.nio | Defines buffers, which are containers for data, and provides an overview of the other NIO packages. |
| java.nio.channels | Defines channels, which represent connections to entities that are capable of performing I/O operations, such as files and sockets; defines selectors, for multiplexed, non-blocking I/O operations. |
| java.nio.charset | Defines charsets, decoders, and encoders, for translating between bytes and Unicode characters. |
| java.rmi | Provides the RMI package. |
| java.rmi.activation | Provides support for RMI Object Activation. |
| java.rmi.server | Provides classes and interfaces for supporting the server side of RMI. |
| java.security | Provides the classes and interfaces for the security framework. |
| java.security.acl | The classes and interfaces in this package have been superseded by classes in the java.security package. |
| java.security.cert | Provides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths. |
| java.security.spec | Provides classes and interfaces for key specifications and algorithm parameter specifications. |
| java.sql | Provides the API for accessing and processing data stored in a data source (usually a relational database) using the JavaTM programming language. |
| java.text | Provides classes and interfaces for handling text, dates, numbers, and messages in a manner independent of natural languages. |
| java.util | Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array). |
| java.util.concurrent | Utility classes commonly useful in concurrent programming. |
| java.util.jar | Provides classes for reading and writing the JAR (Java ARchive) file format, which is based on the standard ZIP file format with an optional manifest file. |
| java.util.logging | Provides the classes and interfaces of the JavaTM 2 platform's core logging facilities. |
| java.util.prefs | This package allows applications to store and retrieve user and system preference and configuration data. |
| java.util.regex | Classes for matching character sequences against patterns specified by regular expressions. |
| java.util.zip | Provides classes for reading and writing the standard ZIP and GZIP file formats. |
| javax.activation | |
| javax.activity | Contains Activity service related exceptions thrown by the ORB machinery during unmarshalling. |
| javax.annotation.processing | Facilities for declaring annotation processors and for allowing annotation processors to communicate with an annotation processing tool environment. |
| javax.crypto | Provides the classes and interfaces for cryptographic operations. |
| javax.imageio | The main package of the Java Image I/O API. |
| javax.imageio.metadata | A package of the Java Image I/O API dealing with reading and writing metadata. |
| javax.imageio.spi | A package of the Java Image I/O API containing the plug-in interfaces for readers, writers, transcoders, and streams, and a runtime registry. |
| javax.imageio.stream | A package of the Java Image I/O API dealing with low-level I/O from files and streams. |
| javax.lang.model.element | Interfaces used to model elements of the Java programming language. |
| javax.lang.model.type | Interfaces used to model Java programming language types. |
| javax.management | Provides the core classes for the Java Management Extensions. |
| javax.management.modelmbean | Provides the definition of the ModelMBean classes. |
| javax.management.monitor | Provides the definition of the monitor classes. |
| javax.management.openmbean | Provides the open data types and Open MBean descriptor classes. |
| javax.management.relation | Provides the definition of the Relation Service. |
| javax.management.remote | Interfaces for remote access to JMX MBean servers. |
| 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.net.ssl | Provides classes for the secure socket package. |
| javax.print | Provides the principal classes and interfaces for the JavaTM Print Service API. |
| javax.print.attribute | Provides classes and interfaces that describe the types of JavaTM Print Service attributes and how they can be collected into attribute sets. |
| javax.rmi.CORBA | Contains portability APIs for RMI-IIOP. |
| javax.script | The scripting API consists of interfaces and classes that define Java TM Scripting Engines and provides a framework for their use in Java applications. |
| javax.security.auth | This package provides a framework for authentication and authorization. |
| javax.security.auth.callback | This package provides the classes necessary for services to interact with applications in order to retrieve information (authentication data including usernames or passwords, for example) or to display information (error and warning messages, for example). |
| javax.security.auth.login | This package provides a pluggable authentication framework. |
| javax.security.cert | Provides classes for public key certificates. |
| javax.security.sasl | Contains class and interfaces for supporting SASL. |
| 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.sql.rowset | Standard interfaces and base classes for JDBC RowSet
implementations. |
| javax.sql.rowset.serial | Provides utility classes to allow serializable mappings between SQL types and data types in the Java programming language. |
| javax.sql.rowset.spi | The standard classes and interfaces that a third party vendor has to use in its implementation of a synchronization provider. |
| javax.swing | Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. |
| javax.swing.text | Provides classes and interfaces that deal with editable and noneditable text components. |
| javax.swing.tree | Provides classes and interfaces for dealing with
javax.swing.JTree. |
| javax.swing.undo | Allows developers to provide support for undo/redo in applications such as text editors. |
| javax.transaction | Contains three exceptions thrown by the ORB machinery during unmarshalling. |
| javax.transaction.xa | Provides the API that defines the contract between the transaction manager and the resource manager, which allows the transaction manager to enlist and delist resource objects (supplied by the resource manager driver) in JTA transactions. |
| javax.xml.bind | Provides a runtime binding framework for client applications including unmarshalling, marshalling, and validation capabilities. |
| javax.xml.bind.helpers | JAXB Provider Use Only: Provides partial default implementations for some of the javax.xml.bind interfaces. |
| javax.xml.crypto | Common classes for XML cryptography. |
| javax.xml.crypto.dsig | Classes for generating and validating XML digital signatures. |
| javax.xml.datatype | XML/Java Type Mappings. |
| javax.xml.parsers | Provides classes allowing the processing of XML documents. |
| javax.xml.soap | Provides the API for creating and building SOAP messages. |
| javax.xml.stream | |
| javax.xml.transform | This package defines the generic APIs for processing transformation instructions, and performing a transformation from source to result. |
| javax.xml.ws | This package contains the core JAX-WS APIs. |
| javax.xml.ws.http | This package defines APIs specific to the HTTP binding. |
| javax.xml.ws.soap | This package defines APIs specific to the SOAP binding. |
| javax.xml.xpath | This package provides an object-model neutral API for the evaluation of XPath expressions and access to the evaluation environment. |
| org.ietf.jgss | This package presents a framework that allows application developers to make use of security services like authentication, data integrity and data confidentiality from a variety of underlying security mechanisms like Kerberos, using a unified API. |
| org.omg.CORBA | Provides the mapping of the OMG CORBA APIs to the JavaTM programming language, including the class ORB, which is implemented so that a programmer can use it as a fully-functional Object Request Broker (ORB). |
| org.omg.CORBA.DynAnyPackage | Provides the exceptions used with the DynAny interface
(InvalidValue,
Invalid, InvalidSeq, and
TypeMismatch). |
| org.omg.CORBA.ORBPackage | Provides the exception InvalidName, which is thrown
by the method ORB.resolve_initial_references
and the exception InconsistentTypeCode, which is thrown
by the Dynamic Any creation methods in the ORB class. |
| org.omg.CORBA.portable | Provides a portability layer, that is, a set of ORB APIs that makes it possible for code generated by one vendor to run on another vendor's ORB. |
| org.omg.CORBA.TypeCodePackage | Provides the user-defined exceptions BadKind
and Bounds, which are thrown by methods in
in the class TypeCode. |
| org.omg.CosNaming.NamingContextExtPackage | This package contains the following classes, which are used in org.omg.CosNaming.NamingContextExt: |
| org.omg.CosNaming.NamingContextPackage | This package contains Exception classes for the org.omg.CosNaming package. |
| org.omg.IOP.CodecFactoryPackage | This package contains the exceptions specified in the IOP::CodeFactory interface (as part of the Portable Interceptors spec). |
| org.omg.IOP.CodecPackage | This package is generated from the IOP::Codec IDL interface definition. |
| org.omg.PortableInterceptor | Provides a mechanism to register ORB hooks through which ORB services can intercept the normal flow of execution of the ORB. |
| org.omg.PortableInterceptor.ORBInitInfoPackage | This package contains the exceptions and typedefs from the ORBInitInfo local interface of the PortableInterceptor module specified in the OMG Portable Interceptor specification, http://cgi.omg.org/cgi-bin/doc?ptc/2000-08-06, section 21.7.2. |
| org.omg.PortableServer | Provides classes and interfaces for making the server side of your applications portable across multivendor ORBs. |
| org.omg.PortableServer.CurrentPackage | Provides method implementations with access to the identity of the object on which the method was invoked. |
| org.omg.PortableServer.POAManagerPackage | Encapsulates the processing state of the POAs it is associated with. |
| org.omg.PortableServer.POAPackage | Allows programmers to construct object implementations that are portable between different ORB products. |
| org.w3c.dom | Provides the interfaces for the Document Object Model (DOM) which is a component API of the Java API for XML Processing. |
| org.w3c.dom.events | |
| org.w3c.dom.ls | |
| org.xml.sax | This package provides the core SAX APIs. |
| 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 |
HeadlessException
Thrown when code that is dependent on a keyboard, display, or mouse is called in an environment that does not support a keyboard, display, or mouse. |
class |
IllegalComponentStateException
Signals that an AWT component is not in an appropriate state for the requested operation. |
| Uses of 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.event |
|---|
| Methods in java.awt.event that return Throwable | |
|---|---|
Throwable |
InvocationEvent.getThrowable()
Returns any Throwable caught while executing the Runnable's run()
method. |
| 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. |
| Methods in java.awt.print that return Throwable | |
|---|---|
Throwable |
PrinterIOException.getCause()
Returns the the cause of this exception (the IOException
that terminated the print job). |
| 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 |
IOError
Thrown when a serious I/O error has occurred. |
class |
IOException
Signals that an I/O exception of some sort has occurred. |
class |
NotActiveException
Thrown when serialization or deserialization is not active. |
class |
NotSerializableException
Thrown when an instance is required to have a Serializable interface. |
class |
ObjectStreamException
Superclass of all exceptions specific to Object Stream classes. |
class |
OptionalDataException
Exception indicating the failure of an object read operation due to unread primitive data, or the end of data belonging to a serialized object in the stream. |
class |
StreamCorruptedException
Thrown when control information that was read from an object stream violates internal consistency checks. |
class |
SyncFailedException
Signals that a sync operation has failed. |
class |
UnsupportedEncodingException
The Character Encoding is not supported. |
class |
UTFDataFormatException
Signals that a malformed string in modified UTF-8 format 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. |
| Methods in java.io that return Throwable | |
|---|---|
Throwable |
WriteAbortedException.getCause()
Returns the exception that terminated the operation (the cause). |
| Constructors in java.io with parameters of type Throwable | |
|---|---|
IOError(Throwable cause)
Constructs a new instance of IOError with the specified cause. |
|
IOException(String message,
Throwable cause)
Constructs an IOException with the specified detail message
and cause. |
|
IOException(Throwable cause)
Constructs an IOException with the specified cause and a
detail message of (cause==null ? null : cause.toString())
(which typically contains the class and detail message of cause). |
|
| 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 |
AssertionError
Thrown to indicate that an assertion has failed. |
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 the Java Virtual Machine detects a circularity in the superclass hierarchy of a class being loaded. |
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 |
EnumConstantNotPresentException
Thrown when an application tries to access an enum constant by name and the enum type contains no constant with the specified name. |
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
An IllegalAccessException is thrown when an application tries to reflectively create an instance (other than an array), set or get a field, or invoke a method, but the currently executing method does not have access to the definition of the specified class, field, method or constructor. |
class |
IllegalArgumentException
Thrown to indicate that a method has been passed an illegal or inappropriate argument. |
class |
IllegalMonitorStateException
Thrown to indicate that a thread has attempted to wait on an object's monitor or to notify other threads waiting on an object's monitor without owning the specified monitor. |
class |
IllegalStateException
Signals that a method has been invoked at an illegal or inappropriate time. |
class |
IllegalThreadStateException
Thrown to indicate that a thread is not in an appropriate state for the requested operation. |
class |
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. |
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 occupied, and the thread is interrupted, either before or during the activity. |
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 instance
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 String methods to indicate that an index
is either negative or greater than the size of the string. |
class |
ThreadDeath
An instance of ThreadDeath is thrown in the victim thread
when the (deprecated) Thread.stop() method is invoked. |
class |
TypeNotPresentException
Thrown when an application tries to access a type using a string representing the type's name, but no definition for the type with the specified name can be found. |
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 |
Throwable.getCause()
Returns the cause of this throwable or null if the
cause is nonexistent or unknown. |
Throwable |
ExceptionInInitializerError.getCause()
Returns the cause of this error (the exception that occurred during a static initialization that caused this error to be created). |
Throwable |
ClassNotFoundException.getCause()
Returns the cause of this exception (the exception that was raised if an error occurred while attempting to load the class; otherwise null). |
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. |
Throwable |
Throwable.initCause(Throwable cause)
Initializes the cause of this throwable to the specified value. |
| Methods in java.lang with parameters of type Throwable | |
|---|---|
Throwable |
Throwable.initCause(Throwable cause)
Initializes the cause of this throwable to the specified value. |
void |
Thread.stop(Throwable obj)
Deprecated. This method is inherently unsafe. See Thread.stop()
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?. |
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, and the thread does not have a specific Thread.UncaughtExceptionHandler
installed. |
void |
Thread.UncaughtExceptionHandler.uncaughtException(Thread t,
Throwable e)
Method invoked when the given thread terminates due to the given uncaught exception. |
| 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 | |
|---|---|
ClassNotFoundException(String s,
Throwable ex)
Constructs a ClassNotFoundException with the
specified detail message and optional exception that was
raised while loading the class. |
|
Error(String message,
Throwable cause)
Constructs a new error with the specified detail message and cause. |
|
Error(Throwable cause)
Constructs a new error with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause). |
|
Exception(String message,
Throwable cause)
Constructs a new exception with the specified detail message and cause. |
|
Exception(Throwable cause)
Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause). |
|
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. |
|
IllegalArgumentException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and cause. |
|
IllegalArgumentException(Throwable cause)
Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause). |
|
IllegalStateException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and cause. |
|
IllegalStateException(Throwable cause)
Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause). |
|
RuntimeException(String message,
Throwable cause)
Constructs a new runtime exception with the specified detail message and cause. |
|
RuntimeException(Throwable cause)
Constructs a new runtime exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause). |
|
SecurityException(String message,
Throwable cause)
Creates a SecurityException with the specified
detail message and cause. |
|
SecurityException(Throwable cause)
Creates a SecurityException with the specified cause
and a detail message of (cause==null ? null : cause.toString())
(which typically contains the class and detail message of
cause). |
|
Throwable(String message,
Throwable cause)
Constructs a new throwable with the specified detail message and cause. |
|
Throwable(Throwable cause)
Constructs a new throwable with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause). |
|
TypeNotPresentException(String typeName,
Throwable cause)
Constructs a TypeNotPresentException for the named type with the specified cause. |
|
UnsupportedOperationException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and cause. |
|
UnsupportedOperationException(Throwable cause)
Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause). |
|
| Uses of Throwable in java.lang.annotation |
|---|
| Subclasses of Throwable in java.lang.annotation | |
|---|---|
class |
AnnotationFormatError
Thrown when the annotation parser attempts to read an annotation from a class file and determines that the annotation is malformed. |
class |
AnnotationTypeMismatchException
Thrown to indicate that a program has attempted to access an element of an annotation whose type has changed after the annotation was compiled (or serialized). |
class |
IncompleteAnnotationException
Thrown to indicate that a program has attempted to access an element of an annotation type that was added to the annotation type definition after the annotation was compiled (or serialized). |
| Constructors in java.lang.annotation with parameters of type Throwable | |
|---|---|
AnnotationFormatError(String message,
Throwable cause)
Constructs a new AnnotationFormatError with the specified detail message and cause. |
|
AnnotationFormatError(Throwable cause)
Constructs a new AnnotationFormatError with the specified cause and a detail message of (cause == null ? null : cause.toString()) (which typically contains the class and detail message of cause). |
|
| Uses of Throwable in java.lang.instrument |
|---|
| Subclasses of Throwable in java.lang.instrument | |
|---|---|
class |
IllegalClassFormatException
Thrown by an implementation of ClassFileTransformer.transform
when its input parameters are invalid. |
class |
UnmodifiableClassException
Thrown by an implementation of Instrumentation.redefineClasses
when one of the specified classes cannot be modified. |
| Uses of Throwable in java.lang.reflect |
|---|
| Subclasses of Throwable in java.lang.reflect | |
|---|---|
class |
GenericSignatureFormatError
Thrown when a syntactically malformed signature attribute is encountered by a reflective method that needs to interpret the generic signature information for a type, method or constructor. |
class |
InvocationTargetException
InvocationTargetException is a checked exception that wraps an exception thrown by an invoked method or constructor. |
class |
MalformedParameterizedTypeException
Thrown when a semantically malformed parameterized type is encountered by a reflective method that needs to instantiate it. |
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 |
UndeclaredThrowableException.getCause()
Returns the cause of this exception (the Throwable
instance wrapped in this UndeclaredThrowableException,
which may be null). |
Throwable |
InvocationTargetException.getCause()
Returns the cause of this exception (the thrown target exception, which may be null). |
Throwable |
InvocationTargetException.getTargetException()
Get the thrown target exception. |
Throwable |
UndeclaredThrowableException.getUndeclaredThrowable()
Returns the Throwable instance wrapped in this
UndeclaredThrowableException, which may be null. |
| 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
specified 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 |
HttpRetryException
Thrown to indicate that a HTTP request needs to be retried but cannot be retried automatically, due to streaming mode being enabled. |
class |
MalformedURLException
Thrown to indicate that a malformed URL has occurred. |
class |
NoRouteToHostException
Signals that an error occurred while attempting to connect a socket to a remote address and port. |
class |
PortUnreachableException
Signals that an ICMP Port Unreachable message has been received on a connected datagram. |
class |
ProtocolException
Thrown to indicate that there is an error in the underlying protocol, such as a TCP error. |
class |
SocketException
Thrown to indicate that there is an error creating or accessing a Socket. |
class |
SocketTimeoutException
Signals that a timeout has occurred on a socket read or accept. |
class |
UnknownHostException
Thrown to indicate that the IP address of a host could not be determined. |
class |
UnknownServiceException
Thrown to indicate that an unknown service exception has occurred. |
class |
URISyntaxException
Checked exception thrown to indicate that a string could not be parsed as a URI reference. |
| Uses of Throwable in java.nio |
|---|
| Subclasses of Throwable in java.nio | |
|---|---|
class |
BufferOverflowException
Unchecked exception thrown when a relative put operation reaches the target buffer's limit. |
class |
BufferUnderflowException
Unchecked exception thrown when a relative get operation reaches the source buffer's limit. |
class |
InvalidMarkException
Unchecked exception thrown when an attempt is made to reset a buffer when its mark is not defined. |
class |
ReadOnlyBufferException
Unchecked exception thrown when a content-mutation method such as put or compact is invoked upon a read-only buffer. |
| Uses of Throwable in java.nio.channels |
|---|
| Subclasses of Throwable in java.nio.channels | |
|---|---|
class |
AlreadyConnectedException
Unchecked exception thrown when an attempt is made to connect a SocketChannel that is already connected. |
class |
AsynchronousCloseException
Checked exception received by a thread when another thread closes the channel or the part of the channel upon which it is blocked in an I/O operation. |
class |
CancelledKeyException
Unchecked exception thrown when an attempt is made to use a selection key that is no longer valid. |
class |
ClosedByInterruptException
Checked exception received by a thread when another thread interrupts it while it is blocked in an I/O operation upon a channel. |
class |
ClosedChannelException
Checked exception thrown when an attempt is made to invoke or complete an I/O operation upon channel that is closed, or at least closed to that operation. |
class |
ClosedSelectorException
Unchecked exception thrown when an attempt is made to invoke an I/O operation upon a closed selector. |
class |
ConnectionPendingException
Unchecked exception thrown when an attempt is made to connect a SocketChannel for which a non-blocking connection operation is already in
progress. |
class |
FileLockInterruptionException
Checked exception received by a thread when another thread interrupts it while it is waiting to acquire a file lock. |
class |
IllegalBlockingModeException
& |