Uses of Class
java.lang.Exception
Package
Description
This is the core package of the Java Debug
Interface (JDI), it defines mirrors for values, types, and the target
VirtualMachine itself - as well bootstrapping facilities.
This package defines connections between the virtual machine
using the JDI and the target virtual machine.
This package comprises the interfaces and classes used to
develop new
TransportService
implementations.This package is used to request that a JDI
event be sent under specified conditions.
A Java API for Stream Control Transport Protocol.
Provides the API to attach to a Java virtual machine.
This package provides a legacy entry point for the javac tool.
Contains all of the classes for creating user interfaces and for painting
graphics and images.
Provides classes for color spaces.
Provides interfaces and classes for transferring data between and within
applications.
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.
Provides interfaces and classes for dealing with different types of events
fired by AWT components.
Provides the Java 2D classes for defining and performing operations on
objects related to two-dimensional geometry.
Provides interfaces that enable the development of input methods that can be
used with any Java runtime environment.
Provides classes for creating and modifying images.
Provides classes and interfaces for a general printing API.
Contains classes related to developing beans -- components based on
the JavaBeans architecture.
Provides for system input and output through data streams,
serialization and the file system.
Provides classes that are fundamental to the design of the Java
programming language.
Provides library support for the Java programming language
annotation facility.
Provides services that allow Java programming language agents to instrument
programs running on the JVM.
The
java.lang.invoke
package provides low-level primitives for interacting
with the Java Virtual Machine.Classes to support module descriptors and creating configurations of modules
by means of resolution and service binding.
Provides classes and interfaces for obtaining reflective information about
classes and objects.
Provides the classes for implementing networking applications.
HTTP Client and WebSocket APIs
Defines buffers, which are containers for data, and provides an
overview of the other NIO packages.
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.
Defines charsets, decoders, and encoders, for translating between
bytes and Unicode characters.
Defines interfaces and classes for the Java virtual machine to access files,
file attributes, and file systems.
Interfaces and classes providing access to file and file system attributes.
Provides the RMI package.
Provides classes and interfaces for supporting the server side of RMI.
Provides the classes and interfaces for the security framework.
Provides classes and interfaces for parsing and managing
certificates, certificate revocation lists (CRLs), and
certification paths.
Provides classes and interfaces for key specifications and algorithm
parameter specifications.
Provides the API for accessing and processing data stored in a
data source (usually a relational database) using the
Java programming language.
Provides classes and interfaces for handling text, dates, numbers,
and messages in a manner independent of natural languages.
The main API for dates, times, instants, and durations.
Provides classes to print and parse dates and times.
Access to date and time using fields and units, and date time adjusters.
Support for time-zones and their rules.
Contains the collections framework, some internationalization support classes,
a service loader, properties, random number generation, string parsing
and scanning classes, base64 encoding and decoding, a bit array, and
several miscellaneous utility classes.
Utility classes commonly useful in concurrent programming.
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.
Provides the classes and interfaces of
the Java 2 platform's core logging facilities.
This package allows applications to store and retrieve user and system
preference and configuration data.
Classes for matching character sequences against patterns specified
by regular expressions.
Provides classes for reading and writing the standard ZIP and GZIP file
formats.
Facilities for declaring annotation processors and for
allowing annotation processors to communicate with an annotation processing
tool environment.
Provides the classes and interfaces for cryptographic
operations.
The main package of the Java Image I/O API.
A package of the Java Image I/O API dealing with reading and writing
metadata.
Types and hierarchies of packages comprising a Java language model, a model of the declarations and types of the Java
programming language.
Interfaces used to model elements of the Java programming language.
Interfaces used to model Java programming language types.
Provides the core classes for the Java Management Extensions.
Provides the classes which implement advanced dynamic
loading.
Provides the definition of the ModelMBean classes.
Provides the definition of the monitor classes.
Provides the open data types and Open MBean descriptor classes.
Provides the definition of the Relation Service.
Interfaces for remote access to
JMX MBean servers.
Provides the definition of the Timer MBean.
Provides the classes and interfaces for accessing naming services.
Extends the
javax.naming
package to provide functionality
for accessing directory services.Provides support for LDAPv3 extended operations and controls.
Provides the means for dynamically plugging in support for accessing
naming and directory services through the
javax.naming
and related packages.Provides classes for the secure socket package.
Provides the principal classes and interfaces for the Java Print
Service API.
Provides classes and interfaces that describe the types of Java Print
Service attributes and how they can be collected into attribute sets.
The scripting API consists of interfaces and classes that define
Java Scripting Engines and provides
a framework for their use in Java applications.
This package provides a framework for authentication and
authorization.
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).
This package provides a pluggable authentication framework.
Provides classes for public key certificates.
Contains class and interfaces for supporting SASL.
Java™ Smart Card I/O API.
Provides interfaces and classes for I/O, sequencing, and synthesis of MIDI
(Musical Instrument Digital Interface) data.
Provides interfaces and classes for capture, processing, and playback of
sampled audio data.
Standard interfaces and base classes for JDBC
RowSet
implementations.Provides utility classes to allow serializable mappings between SQL types
and data types in the Java programming language.
The standard classes and interfaces that a third party vendor has to
use in its implementation of a synchronization provider.
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
Provides classes and interfaces that deal with editable and noneditable text
components.
Provides classes and interfaces for dealing with
javax.swing.JTree
.Allows developers to provide support for undo/redo in applications such as
text editors.
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.
Provides the classes for implementing
XML Catalogs OASIS Standard V1.1, 7 October 2005.
Common classes for XML cryptography.
Classes for generating and validating XML digital
signatures.
Defines XML/Java Type Mappings.
Provides the classes for processing XML documents with a SAX (Simple API for XML)
parser or a DOM (Document Object Model) Document builder.
Defines interfaces and classes for the Streaming API for XML (StAX).
Defines the generic APIs for processing transformation instructions,
and performing a transformation from source to result.
Provides an object-model neutral API for the
evaluation of XPath expressions and access to the evaluation
environment.
Contains interfaces and classes that are used to link an
invokedynamic
call site.Contains the linker for ordinary Java objects.
Contains interfaces and classes needed by language runtimes to implement
their own language-specific object models and type conversions.
Contains classes that make it more convenient for language runtimes to
implement their own language-specific object models and type conversions
by providing basic implementations of some classes as well as various
utilities.
Provides interfaces for creating tools, such as a Read-Eval-Print Loop (REPL),
which interactively evaluate "snippets" of Java programming language code.
Provides implementation support for building JShell execution engines.
Defines the Service Provider Interface for pluggable JShell execution engines.
Provides a mechanism to launch an instance of a Java shell tool.
This package defines APIs for signing jar files.
Provides Java code the ability to access the JavaScript engine and the
HTML DOM in the web browser.
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.
Provides the interfaces for the Document Object Model (DOM).
Provides interfaces for DOM Level 2 Events.
Provides interfaces for DOM Level 3 Load and Save.
Provides interfaces for DOM Level 2 Range.
Provides interfaces for DOM Level 3 XPath Specification.
Provides the interfaces for the Simple API for XML (SAX).
-
Uses of Exception in com.sun.jdi
Modifier and TypeClassDescriptionclass
Thrown to indicate line number or variable information is not available.class
Thrown to indicate that the requested class has not yet been loaded through the appropriate class loader.class
Thrown to indicate that the requested operation cannot be completed because the specified class has not yet been prepared.class
Thrown to indicate that the requested operation cannot be completed while the specified thread is in its current state.class
Thrown to indicate that there is an inconistency in the debug information provided by the target VM.class
Thrown to indicate that an unexpected internal error has occurred.class
Deprecated.This exception is no longer thrownclass
Deprecated.This exception is no longer thrownclass
Thrown to indicate that the requested module is invalid or became invalid after the module was unloaded.class
Thrown to indicate that the requested operation cannot be completed because the specified stack frame is no longer valid.class
Thrown to indicate a type mismatch in setting the value of a field or variable, or in specifying the return value of a method.class
Thrown to indicate an exception occurred in an invoked method within the target VM.class
Thrown to indicate an operation cannot be completed because it is not valid for a native method.class
Thrown to indicate that the requested operation cannot be completed because the specified object has been garbage collected.class
Thrown to indicate that the operation is invalid because it would modify the VM and the VM is read-only.class
Unchecked exception thrown to indicate that the requested operation cannot be completed because there is no longer a connection to the target VM.class
Thrown to indicate that the requested operation cannot be completed because the a mirror from one target VM is being combined with a mirror from another target VM.class
Thrown to indicate that the requested operation cannot be completed because the target VM has run out of memory. -
Uses of Exception in com.sun.jdi.connect
Modifier and TypeClassDescriptionclass
Thrown to indicate an invalid argument or inconsistent passed to aConnector
.class
This exception may be thrown as a result of a timeout when attaching to a target VM, or waiting to accept a connection from a target VM.class
A target VM was successfully launched, but terminated with an error before a connection could be established. -
Uses of Exception in com.sun.jdi.connect.spi
Modifier and TypeClassDescriptionclass
This exception may be thrown as a result of an asynchronous close of aConnection
while an I/O operation is in progress. -
Uses of Exception in com.sun.jdi.request
Modifier and TypeClassDescriptionclass
Thrown to indicate a duplicate event request.class
Thrown to indicate that the requested event cannot be modified because it is enabled. -
Uses of Exception in com.sun.nio.sctp
Modifier and TypeClassDescriptionclass
Unchecked exception thrown when an attempt is made to invoke thereceive
method ofSctpChannel
orSctpMultiChannel
from a notification handler.class
Unchecked exception thrown when an attempt is made to remove an address that is not bound to the channel, or remove an address from a channel that has only one address bound to it.class
Unchecked exception thrown when an attempt is made to send a message to an invalid stream. -
Uses of Exception in com.sun.tools.attach
Modifier and TypeClassDescriptionclass
The exception thrown when an agent fails to initialize in the target Java virtual machine.class
The exception thrown when an agent cannot be loaded into the target Java virtual machine.class
Thrown byVirtualMachine.attach
when attempting to attach to a Java virtual machine for which a compatibleAttachProvider
does not exist.class
Exception type to signal that an attach operation failed in the target VM. -
Uses of Exception in com.sun.tools.javac
-
Uses of Exception in java.awt
Modifier and TypeClassDescriptionclass
Signals that an Abstract Window Toolkit exception has occurred.class
Thrown by method createFont in theFont
class to indicate that the specified font is bad.class
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
Signals that an AWT component is not in an appropriate state for the requested operation. -
Uses of Exception in java.awt.color
Modifier and TypeClassDescriptionclass
This exception is thrown if the native CMM returns an error.class
This exception is thrown when an error occurs in accessing or processing anICC_Profile
object. -
Uses of Exception in java.awt.datatransfer
Modifier and TypeClassDescriptionclass
A class to encapsulate MimeType parsing related exceptions.class
Signals that the requested data is not supported in this flavor. -
Uses of Exception in java.awt.dnd
Modifier and TypeClassDescriptionclass
This exception is thrown by various methods in the java.awt.dnd package. -
Uses of Exception in java.awt.event
Modifier and TypeMethodDescriptionInvocationEvent.getException()
Returns any Exception caught while executing the Runnable'srun()
method. -
Uses of Exception in java.awt.geom
Modifier and TypeClassDescriptionclass
TheIllegalPathStateException
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 aGeneralPath
without an initial moveto.class
TheNoninvertibleTransformException
class represents an exception that is thrown if an operation is performed requiring the inverse of anAffineTransform
object but theAffineTransform
is in a non-invertible state. -
Uses of Exception in java.awt.im.spi
Modifier and TypeMethodDescriptionInputMethodDescriptor.createInputMethod()
Creates a new instance of the corresponding input method. -
Uses of Exception in java.awt.image
Modifier and TypeClassDescriptionclass
TheImagingOpException
is thrown if one of theBufferedImageOp
orRasterOp
filter methods cannot process the image.class
TheRasterFormatException
is thrown if there is invalid layout information in theRaster
. -
Uses of Exception in java.awt.print
Modifier and TypeClassDescriptionclass
ThePrinterAbortException
class is a subclass ofPrinterException
and is used to indicate that a user or application has terminated the print job while it was in the process of printing.class
ThePrinterException
class and its subclasses are used to indicate that an exceptional condition has occurred in the print system.class
ThePrinterIOException
class is a subclass ofPrinterException
and is used to indicate that an IO error of some sort has occurred while printing. -
Uses of Exception in java.beans
Modifier and TypeClassDescriptionclass
Thrown when an exception happens during Introspection.class
A PropertyVetoException is thrown when a proposed change to a property represents an unacceptable value.Modifier and TypeMethodDescriptionvoid
ExceptionListener.exceptionThrown
(Exception e) This method is called when a recoverable exception has been caught.Modifier and TypeMethodDescriptionvoid
Expression.execute()
Theexecute
method finds a method whose name is the same as themethodName
property, and invokes the method on the target.void
Statement.execute()
Theexecute
method finds a method whose name is the same as themethodName
property, and invokes the method on the target.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. -
Uses of Exception in java.io
Modifier and TypeClassDescriptionclass
Base class for character conversion exceptions.class
Signals that an end of file or end of stream has been reached unexpectedly during input.class
Signals that an attempt to open the file denoted by a specified pathname has failed.class
Signals that an I/O operation has been interrupted.class
Thrown when the Serialization runtime detects one of the following problems with a Class.class
Indicates that one or more deserialized objects failed validation tests.class
Signals that an I/O exception of some sort has occurred.class
Thrown when serialization or deserialization is not active.class
Thrown when an instance is required to have a Serializable interface.class
Superclass of all exceptions specific to Object Stream classes.class
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
Thrown when control information that was read from an object stream violates internal consistency checks.class
Signals that a sync operation has failed.class
Wraps anIOException
with an unchecked exception.class
The Character Encoding is not supported.class
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
Signals that one of the ObjectStreamExceptions was thrown during a write operation.Modifier and TypeFieldDescriptionWriteAbortedException.detail
Deprecated.This field predates the general-purpose exception chaining facility.ModifierConstructorDescriptionWriteAbortedException
(String s, Exception ex) Constructs a WriteAbortedException with a string describing the exception and the exception causing the abort. -
Uses of Exception in java.lang
Modifier and TypeClassDescriptionclass
Thrown when an exceptional arithmetic condition has occurred.class
Thrown to indicate that an array has been accessed with an illegal index.class
Thrown to indicate that an attempt has been made to store the wrong type of object into an array of objects.class
Thrown to indicate that the code has attempted to cast an object to a subclass of which it is not an instance.class
Thrown when an application tries to load in a class through its string name using: TheforName
method in classClass
.class
Thrown to indicate that theclone
method in classObject
has been called to clone an object, but that the object's class does not implement theCloneable
interface.class
Thrown when an application tries to access an enum constant by name and the enum type contains no constant with the specified name.class
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
Thrown to indicate that a method has been passed an illegal or inappropriate argument.class
Thrown to indicate that a method has been called by an inappropriate caller.class
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
Signals that a method has been invoked at an illegal or inappropriate time.class
Thrown to indicate that a thread is not in an appropriate state for the requested operation.class
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
Thrown when an application tries to create an instance of a class using thenewInstance
method in classClass
, but the specified class object cannot be instantiated.class
Thrown when a thread is waiting, sleeping, or otherwise occupied, and the thread is interrupted, either before or during the activity.class
Thrown when creating a module layer fails.class
Thrown if an application tries to create an array with negative size.class
Signals that the class doesn't have a field of a specified name.class
Thrown when a particular method cannot be found.class
Thrown when an application attempts to usenull
in a case where an object is required.class
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
Common superclass of exceptions thrown by reflective operations in core reflection.class
RuntimeException
is the superclass of those exceptions that can be thrown during the normal operation of the Java Virtual Machine.class
Thrown by the security manager to indicate a security violation.class
Thrown byString
methods to indicate that an index is either negative or greater than the size of the string.class
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
Thrown to indicate that the requested operation is not supported.Modifier and TypeMethodDescriptionvoid
AutoCloseable.close()
Closes this resource, relinquishing any underlying resources. -
Uses of Exception in java.lang.annotation
Modifier and TypeClassDescriptionclass
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
Thrown to indicate that a program has attempted to access an element of an annotation interface that was added to the annotation interface definition after the annotation was compiled (or serialized). -
Uses of Exception in java.lang.instrument
Modifier and TypeClassDescriptionclass
Thrown by an implementation ofClassFileTransformer.transform
when its input parameters are invalid.class
Thrown by an implementation ofInstrumentation.redefineClasses
when one of the specified classes cannot be modified.class
Thrown to indicate that a module cannot be modified. -
Uses of Exception in java.lang.invoke
Modifier and TypeClassDescriptionclass
LambdaConversionExceptionclass
StringConcatException is thrown byStringConcatFactory
when linkage invariants are violated.class
Thrown to indicate that code has attempted to call a method handle via the wrong method type. -
Uses of Exception in java.lang.module
Modifier and TypeClassDescriptionclass
Thrown by aModuleFinder
when an error occurs finding a module.class
Thrown when reading a module descriptor and the module descriptor is found to be malformed or otherwise cannot be interpreted as a module descriptor.class
Thrown when resolving a set of modules, or resolving a set of modules with service binding, fails. -
Uses of Exception in java.lang.reflect
Modifier and TypeClassDescriptionclass
Thrown when Java language access checks cannot be suppressed.class
InvocationTargetException is a checked exception that wraps an exception thrown by an invoked method or constructor.class
Thrown when a semantically malformed parameterized type is encountered by a reflective method that needs to instantiate it.class
Thrown whenthe java.lang.reflect package
attempts to read method parameters from a class file and determines that one or more parameters are malformed.class
Thrown by a method invocation on a proxy instance if its invocation handler'sinvoke
method throws a checked exception (aThrowable
that is not assignable toRuntimeException
orError
) that is not assignable to any of the exception types declared in thethrows
clause of the method that was invoked on the proxy instance and dispatched to the invocation handler. -
Uses of Exception in java.net
Modifier and TypeClassDescriptionclass
Signals that an error occurred while attempting to bind a socket to a local address and port.class
Signals that an error occurred while attempting to connect a socket to a remote address and port.class
Thrown to indicate that a HTTP request needs to be retried but cannot be retried automatically, due to streaming mode being enabled.class
Thrown to indicate that a malformed URL has occurred.class
Signals that an error occurred while attempting to connect a socket to a remote address and port.class
Signals that an ICMP Port Unreachable message has been received on a connected datagram.class
Thrown to indicate that there is an error in the underlying protocol, such as a TCP error.class
Thrown to indicate that there is an error creating or accessing a Socket.class
Signals that a timeout has occurred on a socket read or accept.class
Thrown to indicate that the IP address of a host could not be determined.class
Thrown to indicate that an unknown service exception has occurred.class
Checked exception thrown to indicate that a string could not be parsed as a URI reference. -
Uses of Exception in java.net.http
Modifier and TypeClassDescriptionclass
Thrown when a connection, over which anHttpRequest
is intended to be sent, is not successfully established within a specified time period.class
Thrown when a response is not received within a specified time period.final class
Thrown when the opening handshake has failed. -
Uses of Exception in java.nio
Modifier and TypeClassDescriptionclass
Unchecked exception thrown when a relative put operation reaches the target buffer's limit.class
Unchecked exception thrown when a relative get operation reaches the source buffer's limit.class
Unchecked exception thrown when an attempt is made to reset a buffer when its mark is not defined.class
Unchecked exception thrown when a content-mutation method such asput
orcompact
is invoked upon a read-only buffer. -
Uses of Exception in java.nio.channels
Modifier and TypeClassDescriptionclass
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
Unchecked exception thrown when an attempt is made to bind the socket a network oriented channel that is already bound.class
Unchecked exception thrown when an attempt is made to connect aSocketChannel
that is already connected.class
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
Unchecked exception thrown when an attempt is made to use a selection key that is no longer valid.class
Checked exception received by a thread when another thread interrupts it while it is blocked in an I/O operation upon a channel.class
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
Unchecked exception thrown when an attempt is made to invoke an I/O operation upon a closed selector.class
Unchecked exception thrown when an attempt is made to connect aSocketChannel
for which a non-blocking connection operation is already in progress.class
Checked exception received by a thread when another thread interrupts it while it is waiting to acquire a file lock.class
Unchecked exception thrown when a blocking-mode-specific operation is invoked upon a channel in the incorrect blocking mode.class
Unchecked exception thrown when an attempt is made to open a channel in a group that was not created by the same provider.class
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
Checked exception received by a thread when a timeout elapses before an asynchronous operation completes.class
Unchecked exception thrown when thefinishConnect
method of aSocketChannel
is invoked without first successfully invoking itsconnect
method.class
Unchecked exception thrown when an attempt is made to read from a channel that was not originally opened for reading.class
Unchecked exception thrown when an attempt is made to write to a channel that was not originally opened for writing.class
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
Unchecked exception thrown when an attempt is made to invoke an I/O operation upon a socket channel that is not yet connected.class
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
Unchecked exception thrown when an attempt is made to read from an asynchronous socket channel and a previous read has not completed.class
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
Unchecked exception thrown when an attempt is made to invoke a network operation upon an unresolved socket address.class
Unchecked exception thrown when an attempt is made to bind or connect to a socket address of a type that is not supported.class
Unchecked exception thrown when an attempt is made to write to an asynchronous socket channel and a previous write has not completed. -
Uses of Exception in java.nio.charset
Modifier and TypeClassDescriptionclass
Checked exception thrown when a character encoding or decoding error occurs.class
Unchecked exception thrown when a string that is not a legal charset name is used as such.class
Checked exception thrown when an input byte sequence is not legal for given charset, or an input character sequence is not a legal sixteen-bit Unicode sequence.class
Checked exception thrown when an input character (or byte) sequence is valid but cannot be mapped to an output byte (or character) sequence.class
Unchecked exception thrown when no support is available for a requested charset.ModifierConstructorDescriptionCoderMalfunctionError
(Exception cause) Initializes an instance of this class. -
Uses of Exception in java.nio.file
Modifier and TypeClassDescriptionclass
Checked exception thrown when a file system operation is denied, typically due to a file permission or other access check.class
Checked exception thrown when a file cannot be moved as an atomic file system operation.class
Unchecked exception thrown when an attempt is made to invoke an operation on a directory stream that is closed.class
Unchecked exception thrown when an attempt is made to invoke an operation on a file and the file system is closed.class
Unchecked exception thrown when an attempt is made to invoke an operation on a watch service that is closed.final class
Runtime exception thrown if an I/O error is encountered when iterating over the entries in a directory.class
Checked exception thrown when a file system operation fails because a directory is not empty.class
Checked exception thrown when an attempt is made to create a file or directory and a file of that name already exists.class
Runtime exception thrown when an attempt is made to create a file system that already exists.class
Thrown when a file system operation fails on one or two files.class
Checked exception thrown when a file system loop, or cycle, is encountered.class
Runtime exception thrown when a file system cannot be found.class
Unchecked exception thrown when path string cannot be converted into aPath
because the path string contains invalid characters, or the path string is invalid for other file system specific reasons.class
Checked exception thrown when an attempt is made to access a file that does not exist.class
Checked exception thrown when a file system operation, intended for a directory, fails because the file is not a directory.class
Checked exception thrown when a file system operation fails because a file is not a symbolic link.class
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
Runtime exception thrown when a provider of the required type cannot be found.class
Unchecked exception thrown when an attempt is made to update an object associated with aread-only
FileSystem
. -
Uses of Exception in java.nio.file.attribute
Modifier and TypeClassDescriptionclass
Checked exception thrown when a lookup ofUserPrincipal
fails because the principal does not exist. -
Uses of Exception in java.rmi
Modifier and TypeClassDescriptionclass
AnAccessException
is thrown by certain methods of thejava.rmi.Naming
class (specificallybind
,rebind
, andunbind
) to indicate that the caller does not have permission to perform the action requested by the method call.class
AnAlreadyBoundException
is thrown if an attempt is made to bind an object to a name that already has an associated binding in the registry.class
AConnectException
is thrown if a connection is refused to the remote host for a remote method call.class
AConnectIOException
is thrown if anIOException
occurs while making a connection to the remote host for a remote method call.class
AMarshalException
is thrown if ajava.io.IOException
occurs while marshalling the remote call header, arguments or return value for a remote method call.class
ANoSuchObjectException
is thrown if an attempt is made to invoke a method on an object that no longer exists in the remote virtual machine.class
ANotBoundException
is thrown if an attempt is made to lookup or unbind in the registry a name that has no associated binding.class
ARemoteException
is the common superclass for a number of communication-related exceptions that may occur during the execution of a remote method call.class
Deprecated.UseSecurityException
instead.class
AServerError
is thrown as a result of a remote method invocation when anError
is thrown while processing the invocation on the server, either while unmarshalling the arguments, executing the remote method itself, or marshalling the return value.class
AServerException
is thrown as a result of a remote method invocation when aRemoteException
is thrown while processing the invocation on the server, either while unmarshalling the arguments or executing the remote method itself.class
Deprecated.no replacementclass
AStubNotFoundException
is thrown if a valid stub class could not be found for a remote object when it is exported.class
AnUnexpectedException
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 thethrows
clause of the method in the remote interface.class
AnUnknownHostException
is thrown if ajava.net.UnknownHostException
occurs while creating a connection to the remote host for a remote method call.class
AnUnmarshalException
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 ajava.io.IOException
occurs unmarshalling parameters (on the server side) or the return value (on the client side).ModifierConstructorDescriptionAccessException
(String s, Exception ex) Constructs anAccessException
with the specified detail message and nested exception.ConnectException
(String s, Exception ex) Constructs aConnectException
with the specified detail message and nested exception.ConnectIOException
(String s, Exception ex) Constructs aConnectIOException
with the specified detail message and nested exception.MarshalException
(String s, Exception ex) Constructs aMarshalException
with the specified detail message and nested exception.ServerException
(String s, Exception ex) Constructs aServerException
with the specified detail message and nested exception.Deprecated.no replacementStubNotFoundException
(String s, Exception ex) Constructs aStubNotFoundException
with the specified detail message and nested exception.UnexpectedException
(String s, Exception ex) Constructs aUnexpectedException
with the specified detail message and nested exception.UnknownHostException
(String s, Exception ex) Constructs anUnknownHostException
with the specified detail message and nested exception.UnmarshalException
(String s, Exception ex) Constructs anUnmarshalException
with the specified detail message and nested exception. -
Uses of Exception in java.rmi.server
Modifier and TypeClassDescriptionclass
AnExportException
is aRemoteException
thrown if an attempt to export a remote object fails.class
AServerCloneException
is thrown if a remote exception occurs during the cloning of aUnicastRemoteObject
.class
AnServerNotActiveException
is anException
thrown during a call toRemoteServer.getClientHost
if the getClientHost method is called outside of servicing a remote method call.class
Deprecated.no replacement.class
Deprecated.no replacement.class
Deprecated.This class is obsolete.Modifier and TypeMethodDescriptionboolean
Thefailure
callback is invoked when the RMI runtime is unable to create aServerSocket
via theRMISocketFactory
.Modifier and TypeMethodDescriptionvoid
Skeleton.dispatch
(Remote obj, RemoteCall theCall, int opnum, long hash) Deprecated.no replacementvoid
RemoteCall.executeCall()
Deprecated.no replacementInvoke a method.void
RemoteRef.invoke
(RemoteCall call) Deprecated.1.2 style stubs no longer use this method.ModifierConstructorDescriptionExportException
(String s, Exception ex) Constructs anExportException
with the specified detail message and nested exception.ServerCloneException
(String s, Exception cause) Constructs aServerCloneException
with the specified detail message and cause.Deprecated.Constructs aSkeletonNotFoundException
with the specified detail message and nested exception.Deprecated.Constructs anSocketSecurityException
with the specified detail message and nested exception. -
Uses of Exception in java.security
Modifier and TypeClassDescriptionclass
Deprecated, for removal: This API element is subject to removal in a future version.This class is only useful in conjunction with the Security Manager, which is deprecated and subject to removal in a future release.class
This is the generic Message Digest exception.class
TheGeneralSecurityException
class is a generic security exception class that provides type safety for all the security-related exception classes that extend from it.class
This is the exception for invalid or inappropriate algorithm parameters.class
This is the exception for invalid Keys (invalid encoding, wrong length, uninitialized, etc).class
This exception, designed for use by the JCA/JCE engine classes, is thrown when an invalid parameter is passed to a method.class
This is the basic key exception.class
This is the general key management exception for all operations dealing with key management.class
This is the generic KeyStore exception.class
This exception is thrown when a particular cryptographic algorithm is requested but is not available in the environment.class
This exception is thrown when a particular security provider is requested but is not available in the environment.class
This exception is thrown bydoPrivileged(PrivilegedExceptionAction)
anddoPrivileged(PrivilegedExceptionAction, AccessControlContext context)
to indicate that the action being performed threw a checked exception.class
A runtime exception for Provider exceptions (such as misconfiguration errors or unrecoverable internal errors), which may be subclassed by Providers to throw specialized, provider-specific runtime errors.class
This is the generic Signature exception.class
This exception is thrown if an entry in the keystore cannot be recovered.class
This exception is thrown if a key in the keystore cannot be recovered.Modifier and TypeMethodDescriptionPrivilegedActionException.getException()
Returns the exception thrown by the privileged computation that resulted in thisPrivilegedActionException
.ModifierConstructorDescriptionPrivilegedActionException
(Exception exception) Constructs a new PrivilegedActionException "wrapping" the specific Exception. -
Uses of Exception in java.security.cert
Modifier and TypeClassDescriptionclass
Certificate Encoding Exception.class
This exception indicates one of a variety of certificate problems.class
Certificate Expired Exception.class
Certificate is not yet valid exception.class
Certificate Parsing Exception.class
An exception that indicates an X.509 certificate is revoked.class
An exception indicating one of a variety of problems encountered when building a certification path with aCertPathBuilder
.class
An exception indicating one of a variety of problems encountered when validating a certification path.class
An exception indicating one of a variety of problems retrieving certificates and CRLs from aCertStore
.class
CRL (Certificate Revocation List) Exception. -
Uses of Exception in java.security.spec
Modifier and TypeClassDescriptionclass
This is the exception for invalid key specifications.class
This is the exception for invalid parameter specifications. -
Uses of Exception in java.sql
Modifier and TypeClassDescriptionclass
The subclass ofSQLException
thrown when an error occurs during a batch update operation.class
An exception thrown as aDataTruncation
exception (on writes) or reported as aDataTruncation
warning (on reads) when a data values is unexpectedly truncated for reasons other than its having exceededMaxFieldSize
.class
The subclass ofSQLException
is thrown when one or more client info properties could not be set on aConnection
.class
The subclass ofSQLException
thrown when the SQLState class value is '22', or under vendor-specified conditions.class
An exception that provides information on a database access error or other errors.class
The subclass ofSQLException
thrown when the SQLState class value is '0A' ( the value is 'zero' A).class
The subclass ofSQLException
thrown when the SQLState class value is '23', or under vendor-specified conditions.class
The subclass ofSQLException
thrown when the SQLState class value is '28', or under vendor-specified conditions.class
The subclass ofSQLException
thrown for the SQLState class value '08', or under vendor-specified conditions.class
The subclass ofSQLException
thrown when an instance where a retry of the same operation would fail unless the cause of theSQLException
is corrected.class
The subclass ofSQLException
thrown in situations where a previously failed operation might be able to succeed if the application performs some recovery steps and retries the entire transaction or in the case of a distributed transaction, the transaction branch.class
The subclass ofSQLException
thrown when the SQLState class value is '42', or under vendor-specified conditions.class
The subclass ofSQLException
thrown when the timeout specified byStatement.setQueryTimeout
,DriverManager.setLoginTimeout
,DataSource.setLoginTimeout
,XADataSource.setLoginTimeout
has expired.class
The subclass ofSQLException
thrown when the SQLState class value is '40', or under vendor-specified conditions.class
The subclass ofSQLException
for the SQLState class value '08', or under vendor-specified conditions.class
The subclass ofSQLException
is thrown in situations where a previously failed operation might be able to succeed when the operation is retried without any intervention by application-level functionality.class
An exception that provides information on database access warnings. -
Uses of Exception in java.text
Modifier and TypeClassDescriptionclass
Signals that an error has been reached unexpectedly while parsing. -
Uses of Exception in java.time
Modifier and TypeClassDescriptionclass
Exception used to indicate a problem while calculating a date-time. -
Uses of Exception in java.time.format
Modifier and TypeClassDescriptionclass
An exception thrown when an error occurs during parsing. -
Uses of Exception in java.time.temporal
Modifier and TypeClassDescriptionclass
UnsupportedTemporalTypeException indicates that a ChronoField or ChronoUnit is not supported for a Temporal class. -
Uses of Exception in java.time.zone
Modifier and TypeClassDescriptionclass
Thrown to indicate a problem with time-zone configuration. -
Uses of Exception in java.util
Modifier and TypeClassDescriptionclass
This exception may be thrown by methods that have detected concurrent modification of an object when such modification is not permissible.class
Unchecked exception thrown when duplicate flags are provided in the format specifier.class
Thrown by methods in theStack
class to indicate that the stack is empty.class
Unchecked exception thrown when a conversion and flag are incompatible.class
Unchecked exception thrown when the formatter has been closed.class
Unchecked exception thrown when a character with an invalid Unicode code point as defined byCharacter.isValidCodePoint(int)
is passed to theFormatter
.class
Unchecked exception thrown when the argument corresponding to the format specifier is of an incompatible type.class
Unchecked exception thrown when a format string contains an illegal syntax or a format specifier that is incompatible with the given arguments.class
Unchecked exception thrown when an illegal combination flags is given.class
Unchecked exception thrown when the precision is a negative value other than-1
, the conversion does not support a precision, or the value is otherwise unsupported.class
Unchecked exception thrown when the format width is a negative value other than-1
or is otherwise unsupported.class
Thrown by methods inLocale
andLocale.Builder
to indicate that an argument is not a well-formed BCP 47 tag.class
Thrown by aScanner
to indicate that the token retrieved does not match the pattern for the expected type, or that the token is out of range for the expected type.class
Thrown to indicate that an operation could not complete because the input did not conform to the appropriate XML document type for a collection of properties, as per theProperties
specification.class
Unchecked exception thrown when there is a format specifier which does not have a corresponding argument or if an argument index refers to an argument that does not exist.class
Unchecked exception thrown when the format width is required.class
Signals that a resource is missing.class
Thrown by various accessor methods to indicate that the element being requested does not exist.class
TheTooManyListenersException
Exception is used as part of the Java Event model to annotate and implement a unicast special case of a multicast Event Source.class
Unchecked exception thrown when an unknown conversion is given.class
Unchecked exception thrown when an unknown flag is given. -
Uses of Exception in java.util.concurrent
Modifier and TypeClassDescriptionclass
Exception thrown when a thread tries to wait upon a barrier that is in a broken state, or which enters the broken state while the thread is waiting.class
Exception indicating that the result of a value-producing task, such as aFutureTask
, cannot be retrieved because the task was cancelled.class
Exception thrown when an error or other exception is encountered in the course of completing a result or task.class
Exception thrown when attempting to retrieve the result of a task that aborted by throwing an exception.class
Exception thrown by anExecutor
when a task cannot be accepted for execution.class
Exception thrown when a blocking operation times out. -
Uses of Exception in java.util.jar
Modifier and TypeClassDescriptionclass
Signals that an error of some sort has occurred while reading from or writing to a JAR file. -
Uses of Exception in java.util.logging
Modifier and TypeMethodDescriptionvoid
The error method is called when a Handler failure occurs.protected void
Handler.reportError
(String msg, Exception ex, int code) Protected convenience method to report an error to this Handler's ErrorManager. -
Uses of Exception in java.util.prefs
Modifier and TypeClassDescriptionclass
Thrown to indicate that a preferences operation could not complete because of a failure in the backing store, or a failure to contact the backing store.class
Thrown to indicate that an operation could not complete because the input did not conform to the appropriate XML document type for a collection of preferences, as per thePreferences
specification. -
Uses of Exception in java.util.regex
Modifier and TypeClassDescriptionclass
Unchecked exception thrown to indicate a syntax error in a regular-expression pattern. -
Uses of Exception in java.util.zip
Modifier and TypeClassDescriptionclass
Signals that a data format error has occurred.class
Signals that a Zip exception of some sort has occurred. -
Uses of Exception in javax.annotation.processing
Modifier and TypeClassDescriptionclass
Indicates aFiler
detected an attempt to open a file that would violate the guarantees provided by theFiler
. -
Uses of Exception in javax.crypto
Modifier and TypeClassDescriptionclass
This exception is thrown when aCipher
operating in an AEAD mode (such as GCM/CCM) is unable to verify the supplied authentication tag.class
This exception is thrown when a particular padding mechanism is expected for the input data but the data is not padded properly.class
An exception that is thrown by theKEM.Decapsulator.decapsulate(byte[])
method to denote an error during decapsulation.class
This is the generic ExemptionMechanism exception.class
This exception is thrown when the length of data provided to a block cipher is incorrect, i.e., does not match the block size of the cipher.class
This exception is thrown when a particular padding mechanism is requested but is not available in the environment.class
This exception is thrown when an output buffer provided by the user is too short to hold the operation result. -
Uses of Exception in javax.imageio
Modifier and TypeClassDescriptionclass
An exception class used for signaling run-time failure of reading and writing operations. -
Uses of Exception in javax.imageio.metadata
Modifier and TypeClassDescriptionclass
AnIIOInvalidTreeException
is thrown when an attempt by anIIOMetadata
object to parse a tree ofIIOMetadataNode
s fails. -
Uses of Exception in javax.lang.model
Modifier and TypeClassDescriptionclass
Superclass of exceptions which indicate that an unknown kind of entity was encountered. -
Uses of Exception in javax.lang.model.element
Modifier and TypeClassDescriptionclass
Indicates that an unknown kind of annotation value was encountered.class
Indicates that an unknown kind of module directive was encountered.class
Indicates that an unknown kind of element was encountered. -
Uses of Exception in javax.lang.model.type
Modifier and TypeClassDescriptionclass
Thrown when an application attempts to access theClass
object corresponding to aTypeMirror
.class
Thrown when an application attempts to access a sequence ofClass
objects each corresponding to aTypeMirror
.class
Indicates that an unknown kind of type was encountered. -
Uses of Exception in javax.management
Modifier and TypeClassDescriptionclass
The specified attribute does not exist or cannot be retrieved.class
Thrown when an invalid MBean attribute is passed to a query constructing method.class
Thrown when an invalid expression is passed to a method for constructing a query.class
Thrown when an invalid string operation is passed to a method for constructing a query.class
The MBean is already registered in the repository.class
The specified MBean does not exist in the repository.class
An exception occurred during the introspection of an MBean.class
Thrown when an attempt is made to apply either of the following: A subquery expression to an MBean or a qualified attribute expression to an MBean of the wrong class.class
The value specified is not valid for the attribute.class
Exceptions thrown by JMX implementations.class
Runtime exceptions emitted by JMX implementations.class
The specified MBean listener does not exist in the repository.class
The format of the string does not correspond to a valid ObjectName.class
Represents "user defined" exceptions thrown by MBean methods in the agent.class
Wraps exceptions thrown by the preRegister(), preDeregister() methods of theMBeanRegistration
interface.class
Exception which occurs when trying to register an object in the MBean server that is not a JMX compliant MBean.class
Represents exceptions thrown in the MBean server when performing operations on MBeans.class
Represents exceptions thrown in the MBean server when using the java.lang.reflect classes to invoke methods on MBeans.class
When ajava.lang.Error
occurs in the agent it should be caught and re-thrown as aRuntimeErrorException
.class
Represents runtime exceptions thrown by MBean methods in the agent.class
Represents runtime exceptions thrown in the agent when performing operations on MBeans.class
Represents exceptions raised when a requested service is not supported.Modifier and TypeMethodDescriptionMBeanException.getTargetException()
Return the actualException
thrown.ReflectionException.getTargetException()
Returns the actualException
thrown.Modifier and TypeMethodDescriptionvoid
MBeanRegistration.preDeregister()
Allows the MBean to perform any operations it needs before being unregistered by the MBean server.void
StandardMBean.preDeregister()
Allows the MBean to perform any operations it needs before being unregistered by the MBean server.MBeanRegistration.preRegister
(MBeanServer server, ObjectName name) Allows the MBean to perform any operations it needs before being registered in the MBean Server.StandardMBean.preRegister
(MBeanServer server, ObjectName name) Allows the MBean to perform any operations it needs before being registered in the MBean server.ModifierConstructorDescriptionCreates anMBeanException
that wraps the actualjava.lang.Exception
.MBeanException
(Exception e, String message) Creates anMBeanException
that wraps the actualjava.lang.Exception
with a detail message.Creates anMBeanRegistrationException
that wraps the actualjava.lang.Exception
.MBeanRegistrationException
(Exception e, String message) Creates anMBeanRegistrationException
that wraps the actualjava.lang.Exception
with a detailed message.Creates aReflectionException
that wraps the actualjava.lang.Exception
.ReflectionException
(Exception e, String message) Creates aReflectionException
that wraps the actualjava.lang.Exception
with a detail message. -
Uses of Exception in javax.management.loading
Modifier and TypeMethodDescriptionprotected URL
MLet.check
(String version, URL codebase, String jarfile, MLetContent mlet) This method is to be overridden when extending this service to support caching and versioning.void
MLet.preDeregister()
Allows the m-let to perform any operations it needs before being unregistered by the MBean server.MLet.preRegister
(MBeanServer server, ObjectName name) Allows the m-let to perform any operations it needs before being registered in the MBean server. -
Uses of Exception in javax.management.modelmbean
Modifier and TypeClassDescriptionclass
Exception thrown when an invalid target object type is specified.class
This exception is thrown when an XML formatted string is being parsed into ModelMBean objects or when XML formatted strings are being created from ModelMBean objects.Modifier and TypeMethodDescriptionvoid
RequiredModelMBean.preDeregister()
Allows the MBean to perform any operations it needs before being unregistered by the MBean server.RequiredModelMBean.preRegister
(MBeanServer server, ObjectName name) Allows the MBean to perform any operations it needs before being registered in the MBean server.ModifierConstructorDescriptionConstructor taking an exception and a string.XMLParseException
(Exception e, String s) Constructor taking a string and an exception. -
Uses of Exception in javax.management.monitor
Modifier and TypeClassDescriptionclass
Exception thrown by the monitor when a monitor setting becomes invalid while the monitor is running.Modifier and TypeMethodDescriptionvoid
Monitor.preDeregister()
Allows the monitor MBean to perform any operations it needs before being unregistered by the MBean server.Monitor.preRegister
(MBeanServer server, ObjectName name) Allows the monitor MBean to perform any operations it needs before being registered in the MBean server. -
Uses of Exception in javax.management.openmbean
Modifier and TypeClassDescriptionclass
This runtime exception is thrown to indicate that a method parameter which was expected to be an item name of a composite data or a row index of a tabular data is not valid.class
This runtime exception is thrown to indicate that the open type of an open data value is not the one expected.class
This runtime exception is thrown to indicate that the index of a row to be added to a tabular data instance is already used to refer to another row in this tabular data instance.class
This checked exception is thrown when an open type, an open data or an open MBean metadata info instance could not be constructed because one or more validity constraints were not met. -
Uses of Exception in javax.management.relation
Modifier and TypeClassDescriptionclass
This exception is raised when relation id provided for a relation is already used.class
This exception is raised when an invalid Relation Service is provided.class
Invalid relation type.class
This exception is raised when, in a role info, its minimum degree is greater than its maximum degree.class
Role value is invalid.class
This class is the superclass of any exception which can be raised during relation management.class
This exception is raised when there is no relation for a given relation id in a Relation Service.class
This exception is raised when an access is done to the Relation Service and that one is not registered.class
This exception is raised when there is no relation type with given name in Relation Service.class
This exception is raised when there is no role info with given name in a given relation type.class
This exception is raised when a role in a relation does not exist, or is not readable, or is not settable.Modifier and TypeMethodDescriptionvoid
RelationService.preDeregister()
void
RelationSupport.preDeregister()
RelationService.preRegister
(MBeanServer server, ObjectName name) RelationSupport.preRegister
(MBeanServer server, ObjectName name) -
Uses of Exception in javax.management.remote
Modifier and TypeClassDescriptionclass
Exception thrown byJMXConnectorFactory
andJMXConnectorServerFactory
when a provider exists for the required protocol but cannot be used for some reason.class
Exception thrown as the result of a remoteMBeanServer
method invocation when anError
is thrown while processing the invocation in the remote MBean server.Modifier and TypeMethodDescriptionvoid
JMXConnectorServer.preDeregister()
Called by an MBean server when this connector server is unregistered from that MBean server. -
Uses of Exception in javax.management.timer
Modifier and TypeMethodDescriptionvoid
Timer.preDeregister()
Allows the timer MBean to perform any operations it needs before being unregistered by the MBean server.Timer.preRegister
(MBeanServer server, ObjectName name) Allows the timer MBean to perform any operations it needs before being registered in the MBean server. -
Uses of Exception in javax.naming
Modifier and TypeClassDescriptionclass
This exception is thrown when an authentication error occurs while accessing the naming or directory service.class
This exception is thrown when the particular flavor of authentication requested is not supported.class
This exception is thrown to indicate that the operation reached a point in the name where the operation cannot proceed any further.class
This exception is thrown when the client is unable to communicate with the directory or naming service.class
This exception is thrown when there is a configuration problem.class
This exception is thrown when attempting to destroy a context that is not empty.class
This exception is thrown when resources are not available to complete the requested operation.class
This exception is thrown when the naming operation being invoked has been interrupted.class
This exception indicates that the name being specified does not conform to the naming syntax of a naming system.class
This exception is thrown when a method terminates abnormally due to a user or system specified limit.class
This exception is used to describe problems encountered while resolving links.class
This exception is thrown when a loop was detected while attempting to resolve a link, or an implementation specific limit on link counts has been reached.class
This exception is thrown when a malformed link was encountered while resolving or constructing a link.class
This exception is thrown by methods to indicate that a binding cannot be added because the name is already bound to another object.class
This exception is thrown when a component of the name cannot be resolved because it is not bound.class
This is the superclass of all exceptions thrown by operations in the Context and DirContext interfaces.class
This is the superclass of security-related exceptions thrown by operations in the Context and DirContext interfaces.class
This exception is thrown when no initial context implementation can be created.class
This exception is thrown when attempting to perform an operation for which the client has no permission.class
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
This exception is thrown when a context implementation does not support the operation being invoked.class
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
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
This exception is thrown when attempting to communicate with a directory or naming service and that service is not available.class
This exception is thrown when a method produces a result that exceeds a size-related limit.class
This exception is thrown when a method does not terminate within the specified time limit. -
Uses of Exception in javax.naming.directory
Modifier and TypeClassDescriptionclass
This exception is thrown when an operation attempts to add an attribute that already exists.class
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
This exception is thrown when an attempt is made to add to create an attribute with an invalid attribute identifier.class
This exception is thrown when an attempt is made to add or modify an attribute set that has been specified incompletely or incorrectly.class
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
This exception is thrown when the specification of the SearchControls for a search operation is invalid.class
This exception is thrown when the specification of a search filter is invalid.class
This exception is thrown when attempting to access an attribute that does not exist.class
This exception is thrown when a method in some ways violates the schema. -
Uses of Exception in javax.naming.ldap
Modifier and TypeClassDescriptionclass
This abstract class is used to represent an LDAP referral exception. -
Uses of Exception in javax.naming.spi
Modifier and TypeMethodDescriptionstatic Object
DirectoryManager.getObjectInstance
(Object refInfo, Name name, Context nameCtx, Hashtable<?, ?> environment, Attributes attrs) Creates an instance of an object for the specified object, attributes, and environment.DirObjectFactory.getObjectInstance
(Object obj, Name name, Context nameCtx, Hashtable<?, ?> environment, Attributes attrs) Creates an object using the location or reference information, and attributes specified.static Object
NamingManager.getObjectInstance
(Object refInfo, Name name, Context nameCtx, Hashtable<?, ?> environment) Creates an instance of an object for the specified object and environment.ObjectFactory.getObjectInstance
(Object obj, Name name, Context nameCtx, Hashtable<?, ?> environment) Creates an object using the location or reference information specified. -
Uses of Exception in javax.net.ssl
Modifier and TypeClassDescriptionclass
Indicates some kind of error detected by an SSL subsystem.class
Indicates that the client and server could not negotiate the desired level of security.class
Reports a bad SSL key.class
Indicates that the peer's identity has not been verified.class
Reports an error in the operation of the SSL protocol. -
Uses of Exception in javax.print
Modifier and TypeClassDescriptionclass
ClassPrintException
encapsulates a printing-related error condition that occurred while using a Print Service instance.ModifierConstructorDescriptionConstruct a print exception chaining the supplied exception.PrintException
(String s, Exception e) Construct a print exception with the given detail message and chained exception. -
Uses of Exception in javax.print.attribute
Modifier and TypeClassDescriptionclass
Thrown to indicate that the requested operation cannot be performed because the set is unmodifiable. -
Uses of Exception in javax.script
Modifier and TypeClassDescriptionclass
The genericException
class for the Scripting APIs.ModifierConstructorDescriptionCreates aScriptException
wrapping anException
thrown by an underlying interpreter. -
Uses of Exception in javax.security.auth
Modifier and TypeClassDescriptionclass
Signals that adestroy
operation failed.class
Signals that arefresh
operation failed. -
Uses of Exception in javax.security.auth.callback
Modifier and TypeClassDescriptionclass
Signals that aCallbackHandler
does not recognize a particularCallback
. -
Uses of Exception in javax.security.auth.login
Modifier and TypeClassDescriptionclass
A generic account exception.class
Signals that a user account has expired.class
Signals that an account was locked.class
Signals that an account was not found.class
A generic credential exception.class
Signals that aCredential
has expired.class
Signals that a credential was not found.class
Signals that user authentication failed.class
This is the basic login exception. -
Uses of Exception in javax.security.cert
Modifier and TypeClassDescriptionclass
Deprecated, for removal: This API element is subject to removal in a future version.Use the classes injava.security.cert
instead.class
Deprecated, for removal: This API element is subject to removal in a future version.Use the classes injava.security.cert
instead.class
Deprecated, for removal: This API element is subject to removal in a future version.Use the classes injava.security.cert
instead.class
Deprecated, for removal: This API element is subject to removal in a future version.Use the classes injava.security.cert
instead.class
Deprecated, for removal: This API element is subject to removal in a future version.Use the classes injava.security.cert
instead. -
Uses of Exception in javax.security.sasl
Modifier and TypeClassDescriptionclass
This exception is thrown by a SASL mechanism implementation to indicate that the SASL exchange has failed due to reasons related to authentication, such as an invalid identity, passphrase, or key.class
This class represents an error that has occurred when using SASL. -
Uses of Exception in javax.smartcardio
Modifier and TypeClassDescriptionclass
Exception for errors that occur during communication with the Smart Card stack or the card itself.class
Exception thrown when an application tries to establish a connection with a terminal that has no card present. -
Uses of Exception in javax.sound.midi
Modifier and TypeClassDescriptionclass
AnInvalidMidiDataException
indicates that inappropriate MIDI data was encountered.class
AMidiUnavailableException
is thrown when a requested MIDI component cannot be opened or created because it is unavailable. -
Uses of Exception in javax.sound.sampled
Modifier and TypeClassDescriptionclass
ALineUnavailableException
is an exception indicating that a line cannot be opened because it is unavailable.class
AnUnsupportedAudioFileException
is an exception indicating that an operation failed because a file did not contain valid data of a recognized file type and format. -
Uses of Exception in javax.sql.rowset
Modifier and TypeClassDescriptionclass
An extension ofSQLException
that provides information about database warnings set onRowSet
objects. -
Uses of Exception in javax.sql.rowset.serial
Modifier and TypeClassDescriptionclass
Indicates and an error with the serialization or de-serialization of SQL types such asBLOB, CLOB, STRUCT or ARRAY
in addition to SQL types such asDATALINK and JAVAOBJECT
-
Uses of Exception in javax.sql.rowset.spi
Modifier and TypeClassDescriptionclass
Indicates an error withSyncFactory
mechanism.class
Indicates an error with theSyncProvider
mechanism. -
Uses of Exception in javax.swing
Modifier and TypeClassDescriptionclass
An exception that indicates the requested look & feel management classes are not present on the user's system.Modifier and TypeMethodDescriptionprotected abstract T
SwingWorker.doInBackground()
Computes a result, or throws an exception if unable to do so. -
Uses of Exception in javax.swing.text
Modifier and TypeClassDescriptionclass
This exception is to report bad locations within a document model (that is, attempts to reference a location that doesn't exist).class
ChangedCharSetException as the name indicates is an exception thrown when the charset is changed. -
Uses of Exception in javax.swing.tree
Modifier and TypeClassDescriptionclass
Exception used to stop an expand/collapse from happening. -
Uses of Exception in javax.swing.undo
Modifier and TypeClassDescriptionclass
Thrown when an UndoableEdit is told toredo()
and can't.class
Thrown when an UndoableEdit is told toundo()
and can't. -
Uses of Exception in javax.transaction.xa
Modifier and TypeClassDescriptionclass
The XAException is thrown by the Resource Manager (RM) to inform the Transaction Manager of an error encountered by the involved transaction. -
Uses of Exception in javax.xml.catalog
Modifier and TypeClassDescriptionclass
The exception class handles errors that may happen while processing or using a catalog. -
Uses of Exception in javax.xml.crypto
Modifier and TypeClassDescriptionclass
Indicates an exceptional condition thrown by aKeySelector
.class
Indicates an exceptional condition that occurred during the XML marshalling or unmarshalling process.class
This exception is thrown when a particular XML mechanism is requested but is not available in the environment.class
Indicates an exceptional condition thrown while dereferencing aURIReference
. -
Uses of Exception in javax.xml.crypto.dsig
Modifier and TypeClassDescriptionclass
Indicates an exceptional condition that occurred while executing a transform algorithm.class
Indicates an exceptional condition that occurred during the XML signature generation or validation process. -
Uses of Exception in javax.xml.datatype
Modifier and TypeClassDescriptionclass
Indicates a serious configuration error. -
Uses of Exception in javax.xml.parsers
Modifier and TypeClassDescriptionclass
Indicates a serious configuration error.Modifier and TypeMethodDescriptionFactoryConfigurationError.getException()
Return the actual exception (if any) that caused this exception to be raised.ModifierConstructorDescriptionCreate a newFactoryConfigurationError
with a givenException
base cause of the error.FactoryConfigurationError
(Exception e, String msg) Create a newFactoryConfigurationError
with the givenException
base cause and detail message. -
Uses of Exception in javax.xml.stream
Modifier and TypeClassDescriptionclass
The base exception for unexpected processing errors.Modifier and TypeMethodDescriptionFactoryConfigurationError.getException()
Return the nested exception (if any)ModifierConstructorDescriptionConstruct an exception with a nested inner exceptionFactoryConfigurationError
(Exception e, String msg) Construct an exception with a nested inner exception and a messageFactoryConfigurationError
(String msg, Exception e) Construct an exception with a nested inner exception and a message -
Uses of Exception in javax.xml.transform
Modifier and TypeClassDescriptionclass
Indicates a serious configuration error.class
This class specifies an exceptional condition that occurred during the transformation process.Modifier and TypeMethodDescriptionTransformerFactoryConfigurationError.getException()
Return the actual exception (if any) that caused this exception to be raised.ModifierConstructorDescriptionCreate a newTransformerFactoryConfigurationError
with a givenException
base cause of the error.Create a newTransformerFactoryConfigurationError
with the givenException
base cause and detail message. -
Uses of Exception in javax.xml.xpath
Modifier and TypeClassDescriptionclass
XPathException
represents a generic XPath exception.class
XPathExpressionException
represents an error in an XPath expression.class
XPathFactoryConfigurationException
represents a configuration error in aXPathFactory
environment.class
XPathFunctionException
represents an error with an XPath function. -
Uses of Exception in jdk.dynalink
Modifier and TypeClassDescriptionclass
Thrown at the invocation if the call site can not be linked by any availableGuardingDynamicLinker
. -
Uses of Exception in jdk.dynalink.beans
Modifier and TypeMethodDescriptionMissingMemberHandlerFactory.createMissingMemberHandler
(LinkRequest linkRequest, LinkerServices linkerServices) Returns a method handle suitable for implementing missing member behavior for a particular link request.BeansLinker.getGuardedInvocation
(LinkRequest request, LinkerServices linkerServices) -
Uses of Exception in jdk.dynalink.linker
Modifier and TypeMethodDescriptionGuardingTypeConverterFactory.convertToType
(Class<?> sourceType, Class<?> targetType, Supplier<MethodHandles.Lookup> lookupSupplier) Returns a guarded type conversion that receives a value of the specified source type and returns a value converted to the specified target type.GuardingDynamicLinker.getGuardedInvocation
(LinkRequest linkRequest, LinkerServices linkerServices) Creates a guarded invocation appropriate for a particular invocation with the specified arguments at a call site.LinkerServices.getGuardedInvocation
(LinkRequest linkRequest) Creates a guarded invocation delegating back to theDynamicLinker
that exposes this linker services object. -
Uses of Exception in jdk.dynalink.linker.support
Modifier and TypeMethodDescriptionCompositeGuardingDynamicLinker.getGuardedInvocation
(LinkRequest linkRequest, LinkerServices linkerServices) Delegates the call to its component linkers.CompositeTypeBasedGuardingDynamicLinker.getGuardedInvocation
(LinkRequest linkRequest, LinkerServices linkerServices) -
Uses of Exception in jdk.jshell
Modifier and TypeClassDescriptionclass
Wraps an throwable thrown in the executing client.class
The superclass of JShell generated exceptionsclass
Exception reported on attempting to execute aRECOVERABLE_DEFINED
snippet. -
Uses of Exception in jdk.jshell.execution
Modifier and TypeMethodDescriptionprotected String
Invoke the specified "doit-method", a static method with no parameters.static void
Launch the agent, connecting to the JShell-core over the socket specified in the command-line argument. -
Uses of Exception in jdk.jshell.spi
Modifier and TypeClassDescriptionstatic class
A class install (load or redefine) encountered a problem.static class
Unbidden execution engine termination has occurred.static class
The abstract base of allExecutionControl
exceptions.static class
An internal problem has occurred.static class
The command is not implemented.static class
An exception indicating that aDeclarationSnippet
with unresolved references has been encountered.static class
The abstract base of of exceptions specific to running user code.static class
An exception indicating that anExecutionControl.invoke(java.lang.String, java.lang.String)
(or theoretically aExecutionControl.varValue(java.lang.String, java.lang.String)
) has been interrupted by aExecutionControl.stop()
.static class
A 'normal' user exception occurred.class
The construction and throw of this exception is embedded in code generated by the JShell core implementation in such a way that, upon executing aRECOVERABLE_DEFINED
user method, this exception is thrown. -
Uses of Exception in jdk.jshell.tool
Modifier and TypeMethodDescriptionvoid
Run an instance of the Java shell tool as configured by the other methods in this interface.default int
Run an instance of the Java shell tool as configured by the other methods in this interface. -
Uses of Exception in jdk.security.jarsigner
Modifier and TypeClassDescriptionclass
This exception is thrown whenJarSigner.sign(java.util.zip.ZipFile, java.io.OutputStream)
fails. -
Uses of Exception in netscape.javascript
Modifier and TypeClassDescriptionclass
Thrown when an exception is raised in the JavaScript engine. -
Uses of Exception in org.ietf.jgss
Modifier and TypeClassDescriptionclass
This exception is thrown whenever a GSS-API error occurs, including any mechanism specific error. -
Uses of Exception in org.w3c.dom
Modifier and TypeClassDescriptionclass
DOM operations only raise exceptions in "exceptional" circumstances, i.e., when an operation is impossible to perform (either for logical reasons, because data is lost, or because the implementation has become unstable). -
Uses of Exception in org.w3c.dom.events
Modifier and TypeClassDescriptionclass
Event operations may throw anEventException
as specified in their method descriptions. -
Uses of Exception in org.w3c.dom.ls
Modifier and TypeClassDescriptionclass
Parser or write operations may throw anLSException
if the processing is stopped. -
Uses of Exception in org.w3c.dom.ranges
Modifier and TypeClassDescriptionclass
Range operations may throw aRangeException
as specified in their method descriptions. -
Uses of Exception in org.w3c.dom.xpath
Modifier and TypeClassDescriptionclass
A new exception has been created for exceptions specific to these XPath interfaces. -
Uses of Exception in org.xml.sax
Modifier and TypeClassDescriptionclass
Encapsulate a general SAX error or warning.class
Exception class for an unrecognized identifier.class
Exception class for an unsupported operation.class
Encapsulate an XML parse error or warning.Modifier and TypeMethodDescriptionSAXException.getException()
Return the embedded exception, if any.ModifierConstructorDescriptionCreate a new SAXException wrapping an existing exception.SAXException
(String message, Exception e) Create a new SAXException from an existing exception.SAXParseException
(String message, String publicId, String systemId, int lineNumber, int columnNumber, Exception e) Create a new SAXParseException with an embedded exception.SAXParseException
(String message, Locator locator, Exception e) Wrap an existing exception in a SAXParseException.