| Package | Description |
|---|---|
| java.awt |
Contains all of the classes for creating user
interfaces and for painting graphics and images.
|
| java.awt.color |
Provides classes for color spaces.
|
| java.awt.datatransfer |
Provides interfaces and classes for transferring data
between and within applications.
|
| java.awt.dnd |
Drag and Drop is a direct manipulation gesture found in many Graphical
User Interface systems that provides a mechanism to transfer
information between two entities logically associated with presentation
elements in the GUI.
|
| java.awt.event |
Provides interfaces and classes for dealing with different
types of events fired by AWT components.
|
| java.awt.geom |
Provides the Java 2D classes for defining and performing operations
on objects related to two-dimensional geometry.
|
| java.awt.im.spi |
Provides interfaces that enable the development of input methods
that can be used with any Java runtime environment.
|
| java.awt.image |
Provides classes for creating and modifying images.
|
| java.awt.print |
Provides classes and interfaces for a general printing API.
|
| java.beans |
Contains classes related to developing
beans -- components
based on the JavaBeans™ 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.invoke |
The
java.lang.invoke package contains dynamic language support provided directly by
the Java core class libraries and virtual machine. |
| 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.nio.file |
Defines interfaces and classes for the Java virtual machine to access files,
file attributes, and file systems.
|
| java.nio.file.attribute |
Interfaces and classes providing access to file and file system attributes.
|
| 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.time |
The main API for dates, times, instants, and durations.
|
| java.time.format |
Provides classes to print and parse dates and times.
|
| java.time.temporal |
Access to date and time using fields and units, and date time adjusters.
|
| java.time.zone |
Support for time-zones and their rules.
|
| 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.lang.model |
Classes and hierarchies of packages used to model the Java
programming language.
|
| 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.loading |
Provides the classes which implement advanced dynamic
loading.
|
| 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.management.timer |
Provides the definition of the Timer MBean.
|
| 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 | |
| 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.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.annotation.adapters |
XmlAdapter and its spec-defined
sub-classes to allow arbitrary Java classes to be used with JAXB. |
| 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).
|
| org.w3c.dom.events | |
| org.w3c.dom.ls | |
| org.xml.sax |
This package provides the core SAX APIs.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
AWTException
Signals that an Abstract 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.
|
| Modifier and Type | Class | Description |
|---|---|---|
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.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
MimeTypeParseException
A class to encapsulate MimeType parsing related exceptions
|
|
class |
UnsupportedFlavorException
Signals that the requested data is not supported in this flavor.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
InvalidDnDOperationException
This exception is thrown by various methods in the java.awt.dnd package.
|
| Modifier and Type | Method | Description |
|---|---|---|
Exception |
InvocationEvent.getException()
Returns any Exception caught while executing the Runnable's
run()
method. |
| Modifier and Type | Class | Description |
|---|---|---|
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. |
| Modifier and Type | Method | Description |
|---|---|---|
InputMethod |
InputMethodDescriptor.createInputMethod()
Creates a new instance of the corresponding input method.
|
| Modifier and Type | Class | Description |
|---|---|---|
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. |
| Modifier and Type | Class | Description |
|---|---|---|
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. |
| Modifier and Type | Class | Description |
|---|---|---|
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.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
ExceptionListener.exceptionThrown(Exception e)
This method is called when a recoverable exception has
been caught.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
Statement.execute()
The
execute method finds a method whose name is the same
as the methodName property, and invokes the method on
the target. |
|
void |
Expression.execute()
The
execute method finds a method whose name is the same
as the methodName property, and invokes the method on
the target. |
|
Object |
Expression.getValue()
If the value property of this instance is not already set,
this method dynamically finds the method with the specified
methodName on this target with these arguments and calls it.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
CharConversionException
Base class for character conversion exceptions.
|
|
class |
EOFException
Signals that an end of file or end of stream has been reached
unexpectedly during input.
|
|
class |
FileNotFoundException
Signals that an attempt to open the file denoted by a specified pathname
has failed.
|
|
class |
InterruptedIOException
Signals that an I/O operation has been interrupted.
|
|
class |
InvalidClassException
Thrown when the Serialization runtime detects one of the following
problems with a Class.
|
|
class |
InvalidObjectException
Indicates that one or more deserialized objects failed validation
tests.
|
|
class |
IOException
Signals that an I/O exception of some sort has occurred.
|
|
class |
NotActiveException
Thrown when serialization or deserialization is not active.
|
|
class |
NotSerializableException
Thrown when an instance is required to have a Serializable interface.
|
|
class |
ObjectStreamException
Superclass of all exceptions specific to Object Stream classes.
|
|
class |
OptionalDataException
Exception indicating the failure of an object read operation due to
unread primitive data, or the end of data belonging to a serialized
object in the stream.
|
|
class |
StreamCorruptedException
Thrown when control information that was read from an object stream
violates internal consistency checks.
|
|
class |
SyncFailedException
Signals that a sync operation has failed.
|
|
class |
UncheckedIOException
Wraps an
IOException with an unchecked exception. |
|
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.
|
| Modifier and Type | Field | Description |
|---|---|---|
Exception |
WriteAbortedException.detail
Exception that was caught while writing the ObjectStream.
|
| Constructor | Description |
|---|---|
WriteAbortedException(String s,
Exception ex)
Constructs a WriteAbortedException with a string describing
the exception and the exception causing the abort.
|
| Modifier and Type | Class | Description |
|---|---|---|
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 |
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 |
IllegalAccessException
An IllegalAccessException is thrown when an application tries
to reflectively create an instance (other than an array),
set or get a field, or invoke a method, but the currently
executing method does not have access to the definition of
the specified class, field, method or constructor.
|
|
class |
IllegalArgumentException
Thrown to indicate that a method has been passed an illegal or
inappropriate argument.
|
|
class |
IllegalMonitorStateException
Thrown to indicate that a thread has attempted to wait on an
object's monitor or to notify other threads waiting on an object's
monitor without owning the specified monitor.
|
|
class |
IllegalStateException
Signals that a method has been invoked at an illegal or
inappropriate time.
|
|
class |
IllegalThreadStateException
Thrown to indicate that a thread is not in an appropriate state
for the requested operation.
|
|
class |
IndexOutOfBoundsException
Thrown to indicate that an index of some sort (such as to an array, to a
string, or to a vector) is out of range.
|
|
class |
InstantiationException
Thrown when an application tries to create an instance of a class
using the
newInstance method in class
Class, but the specified class object cannot be
instantiated. |
|
class |
InterruptedException
Thrown when a thread is waiting, sleeping, or otherwise occupied,
and the thread is interrupted, either before or during the activity.
|
|
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 |
ReflectiveOperationException
Common superclass of exceptions thrown by reflective operations in
core reflection.
|
|
class |
RuntimeException
RuntimeException is the superclass of those
exceptions that can be thrown during the normal operation of the
Java Virtual Machine. |
|
class |
SecurityException
Thrown by the security manager to indicate a security violation.
|
|
class |
StringIndexOutOfBoundsException
Thrown by
String methods to indicate that an index
is either negative or greater than the size of the string. |
|
class |
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 |
UnsupportedOperationException
Thrown to indicate that the requested operation is not supported.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
AutoCloseable.close()
Closes this resource, relinquishing any underlying resources.
|
| Modifier and Type | Class | Description |
|---|---|---|
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).
|
| Modifier and Type | Class | Description |
|---|---|---|
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. |
| Modifier and Type | Class | Description |
|---|---|---|
class |
LambdaConversionException
LambdaConversionException
|
|
class |
WrongMethodTypeException
Thrown to indicate that code has attempted to call a method handle
via the wrong method type.
|
| Modifier and Type | Class | Description |
|---|---|---|
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 |
MalformedParametersException
Thrown when
the
java.lang.reflect package attempts to read method parameters from
a class file and determines that one or more parameters are
malformed. |
|
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. |
| Modifier and Type | Class | Description |
|---|---|---|
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.
|
| Modifier and Type | Class | Description |
|---|---|---|
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.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
AcceptPendingException
Unchecked exception thrown when an attempt is made to initiate an accept
operation on a channel and a previous accept operation has not completed.
|
|
class |
AlreadyConnectedException
Unchecked exception thrown when an attempt is made to connect a
SocketChannel that is already connected. |
|
class |
AsynchronousCloseException
Checked exception received by a thread when another thread closes the
channel or the part of the channel upon which it is blocked in an I/O
operation.
|
|
class |
CancelledKeyException
Unchecked exception thrown when an attempt is made to use
a selection key that is no longer valid.
|
|
class |
ClosedByInterruptException
Checked exception received by a thread when another thread interrupts it
while it is blocked in an I/O operation upon a channel.
|
|
class |
ClosedChannelException
Checked exception thrown when an attempt is made to invoke or complete an
I/O operation upon channel that is closed, or at least closed to that
operation.
|
|
class |
ClosedSelectorException
Unchecked exception thrown when an attempt is made to invoke an I/O
operation upon a closed selector.
|
|
class |
ConnectionPendingException
Unchecked exception thrown when an attempt is made to connect a
SocketChannel for which a non-blocking connection operation is already in
progress. |
|
class |
FileLockInterruptionException
Checked exception received by a thread when another thread interrupts it
while it is waiting to acquire a file lock.
|
|
class |
IllegalBlockingModeException
Unchecked exception thrown when a blocking-mode-specific operation
is invoked upon a channel in the incorrect blocking mode.
|
|
class |
IllegalChannelGroupException
Unchecked exception thrown when an attempt is made to open a channel
in a group that was not created by the same provider.
|
|
class |
IllegalSelectorException
Unchecked exception thrown when an attempt is made to register a channel
with a selector that was not created by the provider that created the
channel.
|
|
class |
InterruptedByTimeoutException
Checked exception received by a thread when a timeout elapses before an
asynchronous operation completes.
|
|
class |
NoConnectionPendingException
Unchecked exception thrown when the
finishConnect method of a SocketChannel is invoked without first
successfully invoking its connect method. |
|
class |
NonReadableChannelException
Unchecked exception thrown when an attempt is made to read
from a channel that was not originally opened for reading.
|
|
class |
NonWritableChannelException
Unchecked exception thrown when an attempt is made to write
to a channel that was not originally opened for writing.
|
|
class |
NotYetBoundException
Unchecked exception thrown when an attempt is made to invoke an I/O
operation upon a server socket channel that is not yet bound.
|
|
class |
NotYetConnectedException
Unchecked exception thrown when an attempt is made to invoke an I/O
operation upon a socket channel that is not yet connected.
|
|
class |
OverlappingFileLockException
Unchecked exception thrown when an attempt is made to acquire a lock on a
region of a file that overlaps a region already locked by the same Java
virtual machine, or when another thread is already waiting to lock an
overlapping region of the same file.
|
|
class |
ReadPendingException
Unchecked exception thrown when an attempt is made to read from an
asynchronous socket channel and a previous read has not completed.
|
|
class |
ShutdownChannelGroupException
Unchecked exception thrown when an attempt is made to construct a channel in
a group that is shutdown or the completion handler for an I/O operation
cannot be invoked because the channel group has terminated.
|
|
class |
UnresolvedAddressException
Unchecked exception thrown when an attempt is made to invoke a network
operation upon an unresolved socket address.
|
|
class |
UnsupportedAddressTypeException
Unchecked exception thrown when an attempt is made to bind or connect
to a socket address of a type that is not supported.
|
|
class |
WritePendingException
Unchecked exception thrown when an attempt is made to write to an
asynchronous socket channel and a previous write has not completed.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
|