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.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.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.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.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.rmi |
Provides the RMI package.
|
java.security |
Provides the classes and interfaces for the security framework.
|
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.regex |
Classes for matching character sequences against patterns specified by regular
expressions.
|
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.monitor |
Provides the definition of the monitor classes.
|
javax.management.openmbean |
Provides the open data types and Open MBean descriptor classes.
|
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.swing.undo |
Allows developers to provide support for undo/redo
in applications such as text editors.
|
javax.xml.bind |
Provides a runtime binding framework for client applications including
unmarshalling, marshalling, and validation capabilities.
|
javax.xml.crypto |
Common classes for XML cryptography.
|
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.
|
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.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.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 |
Modifier and Type | Class and Description |
---|---|
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 and 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 and Description |
---|---|
class |
InvalidDnDOperationException
This exception is thrown by various methods in the java.awt.dnd package.
|
Modifier and Type | Class and 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. |
Modifier and Type | Class and 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 and 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 |
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 |
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 |
NegativeArraySizeException
Thrown if an application tries to create an array with negative size.
|
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 |
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 | Class and 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 and Description |
---|---|
class |
WrongMethodTypeException
Thrown to indicate that code has attempted to call a method handle
via the wrong method type.
|
Modifier and Type | Class and Description |
---|---|
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. |
Modifier and Type | Class and 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 and 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 |
AlreadyBoundException
Unchecked exception thrown when an attempt is made to bind the socket a
network oriented channel that is already bound.
|
class |
AlreadyConnectedException
Unchecked exception thrown when an attempt is made to connect a
SocketChannel that is already connected. |
class |
CancelledKeyException
Unchecked exception thrown when an attempt is made to use
a selection key that is no longer valid.
|
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 |
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 |
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 and Description |
---|---|
class |
IllegalCharsetNameException
Unchecked exception thrown when a string that is not a
legal charset name is used as such.
|
class |
UnsupportedCharsetException
Unchecked exception thrown when no support is available
for a requested charset.
|
Modifier and Type | Class and Description |
---|---|
class |
ClosedDirectoryStreamException
Unchecked exception thrown when an attempt is made to invoke an operation on
a directory stream that is closed.
|
class |
ClosedFileSystemException
Unchecked exception thrown when an attempt is made to invoke an operation on
a file and the file system is closed.
|
class |
ClosedWatchServiceException
Unchecked exception thrown when an attempt is made to invoke an operation on
a watch service that is closed.
|
class |
DirectoryIteratorException
Runtime exception thrown if an I/O error is encountered when iterating over
the entries in a directory.
|
class |
FileSystemAlreadyExistsException
Runtime exception thrown when an attempt is made to create a file system that
already exists.
|
class |
FileSystemNotFoundException
Runtime exception thrown when a file system cannot be found.
|
class |
InvalidPathException
Unchecked exception thrown when path string cannot be converted into a
Path because the path string contains invalid characters, or
the path string is invalid for other file system specific reasons. |
class |
ProviderMismatchException
Unchecked exception thrown when an attempt is made to invoke a method on an
object created by one file system provider with a parameter created by a
different file system provider.
|
class |
ProviderNotFoundException
Runtime exception thrown when a provider of the required type cannot be found.
|
class |
ReadOnlyFileSystemException
Unchecked exception thrown when an attempt is made to update an object
associated with a
read-only FileSystem . |
Modifier and Type | Class and Description |
---|---|
class |
RMISecurityException
Deprecated.
Use
SecurityException instead.
Application code should never directly reference this class, and
RMISecurityManager no longer throws this subclass of
java.lang.SecurityException . |