Uses of Class
java.lang.Throwable
-
Packages that use Throwable Package Description com.sun.jdi 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.com.sun.jdi.connect This package defines connections between the virtual machine using the JDI and the target virtual machine.com.sun.jdi.connect.spi This package comprises the interfaces and classes used to develop newTransportServiceimplementations.com.sun.jdi.request This package is used to request that a JDI event be sent under specified conditions.com.sun.nio.sctp A Java API for Stream Control Transport Protocol.com.sun.tools.attach Provides the API to attach to a Java™ virtual machine.java.awt Contains all of the classes for creating user interfaces and for painting graphics and images.java.awt.color Provides classes for color spaces.java.awt.datatransfer Provides interfaces and classes for transferring data between and within applications.java.awt.dnd Drag and Drop is a direct manipulation gesture found in many Graphical User Interface systems that provides a mechanism to transfer information between two entities logically associated with presentation elements in the GUI.java.awt.event Provides interfaces and classes for dealing with different types of events fired by AWT components.java.awt.geom Provides the Java 2D classes for defining and performing operations on objects related to two-dimensional geometry.java.awt.image Provides classes for creating and modifying images.java.awt.print Provides classes and interfaces for a general printing API.java.beans Contains classes related to developing beans -- components based on the JavaBeans™ architecture.java.io Provides for system input and output through data streams, serialization and the file system.java.lang Provides classes that are fundamental to the design of the Java programming language.java.lang.annotation Provides library support for the Java programming language annotation facility.java.lang.instrument Provides services that allow Java programming language agents to instrument programs running on the JVM.java.lang.invoke Thejava.lang.invokepackage provides low-level primitives for interacting with the Java Virtual Machine.java.lang.module Classes to support module descriptors and creating configurations of modules by means of resolution and service binding.java.lang.reflect Provides classes and interfaces for obtaining reflective information about classes and objects.java.net Provides the classes for implementing networking applications.java.net.http HTTP Client and WebSocket APIsjava.nio Defines buffers, which are containers for data, and provides an overview of the other NIO packages.java.nio.channels Defines channels, which represent connections to entities that are capable of performing I/O operations, such as files and sockets; defines selectors, for multiplexed, non-blocking I/O operations.java.nio.charset Defines charsets, decoders, and encoders, for translating between bytes and Unicode characters.java.nio.file Defines interfaces and classes for the Java virtual machine to access files, file attributes, and file systems.java.nio.file.attribute Interfaces and classes providing access to file and file system attributes.java.rmi Provides the RMI package.java.rmi.activation Provides support for RMI Object Activation.java.rmi.server Provides classes and interfaces for supporting the server side of RMI.java.security Provides the classes and interfaces for the security framework.java.security.acl The classes and interfaces in this package have been deprecated.java.security.cert Provides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths.java.security.spec Provides classes and interfaces for key specifications and algorithm parameter specifications.java.sql Provides the API for accessing and processing data stored in a data source (usually a relational database) using the Java™ programming language.java.text Provides classes and interfaces for handling text, dates, numbers, and messages in a manner independent of natural languages.java.time The main API for dates, times, instants, and durations.java.time.format Provides classes to print and parse dates and times.java.time.temporal Access to date and time using fields and units, and date time adjusters.java.time.zone Support for time-zones and their rules.java.util Contains the collections framework, 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.java.util.concurrent Utility classes commonly useful in concurrent programming.java.util.jar Provides classes for reading and writing the JAR (Java ARchive) file format, which is based on the standard ZIP file format with an optional manifest file.java.util.logging Provides the classes and interfaces of the Java™ 2 platform's core logging facilities.java.util.prefs This package allows applications to store and retrieve user and system preference and configuration data.java.util.regex Classes for matching character sequences against patterns specified by regular expressions.java.util.zip Provides classes for reading and writing the standard ZIP and GZIP file formats.javax.annotation.processing Facilities for declaring annotation processors and for allowing annotation processors to communicate with an annotation processing tool environment.javax.crypto Provides the classes and interfaces for cryptographic operations.javax.imageio The main package of the Java Image I/O API.javax.imageio.metadata A package of the Java Image I/O API dealing with reading and writing metadata.javax.imageio.spi A package of the Java Image I/O API containing the plug-in interfaces for readers, writers, transcoders, and streams, and a runtime registry.javax.imageio.stream A package of the Java Image I/O API dealing with low-level I/O from files and streams.javax.lang.model 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.modelmbean Provides the definition of the ModelMBean classes.javax.management.monitor Provides the definition of the monitor classes.javax.management.openmbean Provides the open data types and Open MBean descriptor classes.javax.management.relation Provides the definition of the Relation Service.javax.management.remote Interfaces for remote access to JMX MBean servers.javax.naming Provides the classes and interfaces for accessing naming services.javax.naming.directory Extends thejavax.namingpackage to provide functionality for accessing directory services.javax.naming.ldap Provides support for LDAPv3 extended operations and controls.javax.net.ssl Provides classes for the secure socket package.javax.print Provides the principal classes and interfaces for the Java™ Print Service API.javax.print.attribute Provides classes and interfaces that describe the types of Java™ Print Service attributes and how they can be collected into attribute sets.javax.script The scripting API consists of interfaces and classes that define Java™ Scripting Engines and provides a framework for their use in Java applications.javax.security.auth This package provides a framework for authentication and authorization.javax.security.auth.callback This package provides the classes necessary for services to interact with applications in order to retrieve information (authentication data including usernames or passwords, for example) or to display information (error and warning messages, for example).javax.security.auth.login This package provides a pluggable authentication framework.javax.security.cert Provides classes for public key certificates.javax.security.sasl Contains class and interfaces for supporting SASL.javax.smartcardio Java™ Smart Card I/O APIjavax.sound.midi Provides interfaces and classes for I/O, sequencing, and synthesis of MIDI (Musical Instrument Digital Interface) data.javax.sound.sampled Provides interfaces and classes for capture, processing, and playback of sampled audio data.javax.sql.rowset Standard interfaces and base classes for JDBCRowSetimplementations.javax.sql.rowset.serial Provides utility classes to allow serializable mappings between SQL types and data types in the Java programming language.javax.sql.rowset.spi The standard classes and interfaces that a third party vendor has to use in its implementation of a synchronization provider.javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.javax.swing.text Provides classes and interfaces that deal with editable and noneditable text components.javax.swing.tree Provides classes and interfaces for dealing withjavax.swing.JTree.javax.swing.undo Allows developers to provide support for undo/redo in applications such as text editors.javax.transaction.xa Provides the API that defines the contract between the transaction manager and the resource manager, which allows the transaction manager to enlist and delist resource objects (supplied by the resource manager driver) in JTA transactions.javax.xml.catalog Provides the classes for implementing XML Catalogs OASIS Standard V1.1, 7 October 2005.javax.xml.crypto Common classes for XML cryptography.javax.xml.crypto.dsig Classes for generating and validating XML digital signatures.javax.xml.datatype Defines XML/Java Type Mappings.javax.xml.parsers Provides the classes for processing XML documents with a SAX (Simple API for XML) parser or a DOM (Document Object Model) Document builder.javax.xml.stream Defines interfaces and classes for the Streaming API for XML (StAX).javax.xml.transform Defines the generic APIs for processing transformation instructions, and performing a transformation from source to result.javax.xml.validation Provides an API for validation of XML documents.javax.xml.xpath Provides an object-model neutral API for the evaluation of XPath expressions and access to the evaluation environment.jdk.dynalink Contains interfaces and classes that are used to link aninvokedynamiccall site.jdk.dynalink.linker Contains interfaces and classes needed by language runtimes to implement their own language-specific object models and type conversions.jdk.jshell Provides interfaces for creating tools, such as a Read-Eval-Print Loop (REPL), which interactively evaluate "snippets" of Java programming language code.jdk.jshell.execution Provides implementation support for building JShell execution engines.jdk.jshell.spi Defines the Service Provider Interface for pluggable JShell execution engines.jdk.nashorn.api.scripting This package provides thejavax.scriptintegration, which is the preferred way to use Nashorn.jdk.nashorn.api.tree Nashorn parser API provides interfaces to represent ECMAScript source code as abstract syntax trees (AST) and Parser to parse ECMAScript source scripts.jdk.security.jarsigner This package defines APIs for signing jar files.netscape.javascript Provides Java code the ability to access the JavaScript engine and the HTML DOM in the web browser.org.ietf.jgss This package presents a framework that allows application developers to make use of security services like authentication, data integrity and data confidentiality from a variety of underlying security mechanisms like Kerberos, using a unified API.org.w3c.dom Provides the interfaces for the Document Object Model (DOM).org.w3c.dom.events Provides interfaces for DOM Level 2 Events.org.w3c.dom.ls Provides interfaces for DOM Level 3 Load and Save.org.w3c.dom.ranges Provides interfaces for DOM Level 2 Range.org.w3c.dom.xpath Provides interfaces for DOM Level 3 XPath Specification.org.xml.sax Provides the core SAX APIs. -
-
Uses of Throwable in com.sun.jdi
Subclasses of Throwable in com.sun.jdi Modifier and Type Class Description classAbsentInformationExceptionThrown to indicate line number or variable information is not available.classClassNotLoadedExceptionThrown to indicate that the requested class has not yet been loaded through the appropriate class loader.classClassNotPreparedExceptionThrown to indicate that the requested operation cannot be completed because the specified class has not yet been prepared.classIncompatibleThreadStateExceptionThrown to indicate that the requested operation cannot be completed while the specified thread is in its current state.classInconsistentDebugInfoExceptionThrown to indicate that there is an inconistency in the debug information provided by the target VM.classInternalExceptionThrown to indicate that an unexpected internal error has occurred.classInvalidCodeIndexExceptionDeprecated.This exception is no longer thrownclassInvalidLineNumberExceptionDeprecated.This exception is no longer thrownclassInvalidModuleExceptionThrown to indicate that the requested module is invalid or became invalid after the module was unloaded.classInvalidStackFrameExceptionThrown to indicate that the requested operation cannot be completed because the specified stack frame is no longer valid.classInvalidTypeExceptionThrown to indicate a type mismatch in setting the value of a field or variable, or in specifying the return value of a method.classInvocationExceptionThrown to indicate an exception occurred in an invoked method within the target VM.classNativeMethodExceptionThrown to indicate an operation cannot be completed because it is not valid for a native method.classObjectCollectedExceptionThrown to indicate that the requested operation cannot be completed because the specified object has been garbage collected.classVMCannotBeModifiedExceptionThrown to indicate that the operation is invalid because it would modify the VM and the VM is read-only.classVMDisconnectedExceptionUnchecked exception thrown to indicate that the requested operation cannot be completed because there is no longer a connection to the target VM.classVMMismatchExceptionThrown 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.classVMOutOfMemoryExceptionThrown to indicate that the requested operation cannot be completed because the target VM has run out of memory. -
Uses of Throwable in com.sun.jdi.connect
Subclasses of Throwable in com.sun.jdi.connect Modifier and Type Class Description classIllegalConnectorArgumentsExceptionThrown to indicate an invalid argument or inconsistent passed to aConnector.classTransportTimeoutExceptionThis 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.classVMStartExceptionA target VM was successfully launched, but terminated with an error before a connection could be established. -
Uses of Throwable in com.sun.jdi.connect.spi
Subclasses of Throwable in com.sun.jdi.connect.spi Modifier and Type Class Description classClosedConnectionExceptionThis exception may be thrown as a result of an asynchronous close of aConnectionwhile an I/O operation is in progress. -
Uses of Throwable in com.sun.jdi.request
Subclasses of Throwable in com.sun.jdi.request Modifier and Type Class Description classDuplicateRequestExceptionThrown to indicate a duplicate event request.classInvalidRequestStateExceptionThrown to indicate that the requested event cannot be modified because it is enabled. -
Uses of Throwable in com.sun.nio.sctp
Subclasses of Throwable in com.sun.nio.sctp Modifier and Type Class Description classIllegalReceiveExceptionUnchecked exception thrown when an attempt is made to invoke thereceivemethod ofSctpChannelorSctpMultiChannelfrom a notification handler.classIllegalUnbindExceptionUnchecked 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.classInvalidStreamExceptionUnchecked exception thrown when an attempt is made to send a message to an invalid stream. -
Uses of Throwable in com.sun.tools.attach
Subclasses of Throwable in com.sun.tools.attach Modifier and Type Class Description classAgentInitializationExceptionThe exception thrown when an agent fails to initialize in the target Java virtual machine.classAgentLoadExceptionThe exception thrown when an agent cannot be loaded into the target Java virtual machine.classAttachNotSupportedExceptionThrown byVirtualMachine.attachwhen attempting to attach to a Java virtual machine for which a compatibleAttachProviderdoes not exist.classAttachOperationFailedExceptionException type to signal that an attach operation failed in the target VM. -
Uses of Throwable in java.awt
Subclasses of Throwable in java.awt Modifier and Type Class Description classAWTErrorThrown when a serious Abstract Window Toolkit error has occurred.classAWTExceptionSignals that an Abstract Window Toolkit exception has occurred.classFontFormatExceptionThrown by method createFont in theFontclass to indicate that the specified font is bad.classHeadlessExceptionThrown 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.classIllegalComponentStateExceptionSignals that an AWT component is not in an appropriate state for the requested operation. -
Uses of Throwable in java.awt.color
Subclasses of Throwable in java.awt.color Modifier and Type Class Description classCMMExceptionThis exception is thrown if the native CMM returns an error.classProfileDataExceptionThis exception is thrown when an error occurs in accessing or processing an ICC_Profile object. -
Uses of Throwable in java.awt.datatransfer
Subclasses of Throwable in java.awt.datatransfer Modifier and Type Class Description classMimeTypeParseExceptionA class to encapsulate MimeType parsing related exceptions.classUnsupportedFlavorExceptionSignals that the requested data is not supported in this flavor. -
Uses of Throwable in java.awt.dnd
Subclasses of Throwable in java.awt.dnd Modifier and Type Class Description classInvalidDnDOperationExceptionThis exception is thrown by various methods in the java.awt.dnd package. -
Uses of Throwable in java.awt.event
Methods in java.awt.event that return Throwable Modifier and Type Method Description ThrowableInvocationEvent. getThrowable()Returns any Throwable caught while executing the Runnable'srun()method. -
Uses of Throwable in java.awt.geom
Subclasses of Throwable in java.awt.geom Modifier and Type Class Description classIllegalPathStateExceptionTheIllegalPathStateExceptionrepresents 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 aGeneralPathwithout an initial moveto.classNoninvertibleTransformExceptionTheNoninvertibleTransformExceptionclass represents an exception that is thrown if an operation is performed requiring the inverse of anAffineTransformobject but theAffineTransformis in a non-invertible state. -
Uses of Throwable in java.awt.image
Subclasses of Throwable in java.awt.image Modifier and Type Class Description classImagingOpExceptionTheImagingOpExceptionis thrown if one of theBufferedImageOporRasterOpfilter methods cannot process the image.classRasterFormatExceptionTheRasterFormatExceptionis thrown if there is invalid layout information in theRaster. -
Uses of Throwable in java.awt.print
Subclasses of Throwable in java.awt.print Modifier and Type Class Description classPrinterAbortExceptionThePrinterAbortExceptionclass is a subclass ofPrinterExceptionand is used to indicate that a user or application has terminated the print job while it was in the process of printing.classPrinterExceptionThePrinterExceptionclass and its subclasses are used to indicate that an exceptional condition has occurred in the print system.classPrinterIOExceptionThePrinterIOExceptionclass is a subclass ofPrinterExceptionand is used to indicate that an IO error of some sort has occurred while printing.Methods in java.awt.print that return Throwable Modifier and Type Method Description ThrowablePrinterIOException. getCause()Returns the cause of this exception (theIOExceptionthat terminated the print job). -
Uses of Throwable in java.beans
Subclasses of Throwable in java.beans Modifier and Type Class Description classIntrospectionExceptionThrown when an exception happens during Introspection.classPropertyVetoExceptionA PropertyVetoException is thrown when a proposed change to a property represents an unacceptable value. -
Uses of Throwable in java.io
Subclasses of Throwable in java.io Modifier and Type Class Description classCharConversionExceptionBase class for character conversion exceptions.classEOFExceptionSignals that an end of file or end of stream has been reached unexpectedly during input.classFileNotFoundExceptionSignals that an attempt to open the file denoted by a specified pathname has failed.classInterruptedIOExceptionSignals that an I/O operation has been interrupted.classInvalidClassExceptionThrown when the Serialization runtime detects one of the following problems with a Class.classInvalidObjectExceptionIndicates that one or more deserialized objects failed validation tests.classIOErrorThrown when a serious I/O error has occurred.classIOExceptionSignals that an I/O exception of some sort has occurred.classNotActiveExceptionThrown when serialization or deserialization is not active.classNotSerializableExceptionThrown when an instance is required to have a Serializable interface.classObjectStreamExceptionSuperclass of all exceptions specific to Object Stream classes.classOptionalDataExceptionException 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.classStreamCorruptedExceptionThrown when control information that was read from an object stream violates internal consistency checks.classSyncFailedExceptionSignals that a sync operation has failed.classUncheckedIOExceptionWraps anIOExceptionwith an unchecked exception.classUnsupportedEncodingExceptionThe Character Encoding is not supported.classUTFDataFormatExceptionSignals 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.classWriteAbortedExceptionSignals that one of the ObjectStreamExceptions was thrown during a write operation.Methods in java.io that return Throwable Modifier and Type Method Description ThrowableWriteAbortedException. getCause()Returns the exception that terminated the operation (the cause).Constructors in java.io with parameters of type Throwable Constructor Description IOError(Throwable cause)Constructs a new instance of IOError with the specified cause.IOException(String message, Throwable cause)Constructs anIOExceptionwith the specified detail message and cause.IOException(Throwable cause)Constructs anIOExceptionwith the specified cause and a detail message of(cause==null ? null : cause.toString())(which typically contains the class and detail message ofcause). -
Uses of Throwable in java.lang
Subclasses of Throwable in java.lang Modifier and Type Class Description classAbstractMethodErrorThrown when an application tries to call an abstract method.classArithmeticExceptionThrown when an exceptional arithmetic condition has occurred.classArrayIndexOutOfBoundsExceptionThrown to indicate that an array has been accessed with an illegal index.classArrayStoreExceptionThrown to indicate that an attempt has been made to store the wrong type of object into an array of objects.classAssertionErrorThrown to indicate that an assertion has failed.classBootstrapMethodErrorThrown to indicate that aninvokedynamicinstruction or a dynamic constant failed to resolve its bootstrap method and arguments, or forinvokedynamicinstruction the bootstrap method has failed to provide a call site with a target of the correct method type, or for a dynamic constant the bootstrap method has failed to provide a constant value of the required type.classClassCastExceptionThrown to indicate that the code has attempted to cast an object to a subclass of which it is not an instance.classClassCircularityErrorThrown when the Java Virtual Machine detects a circularity in the superclass hierarchy of a class being loaded.classClassFormatErrorThrown when the Java Virtual Machine attempts to read a class file and determines that the file is malformed or otherwise cannot be interpreted as a class file.classClassNotFoundExceptionThrown when an application tries to load in a class through its string name using: TheforNamemethod in classClass.classCloneNotSupportedExceptionThrown to indicate that theclonemethod in classObjecthas been called to clone an object, but that the object's class does not implement theCloneableinterface.classEnumConstantNotPresentExceptionThrown when an application tries to access an enum constant by name and the enum type contains no constant with the specified name.classErrorAnErroris a subclass ofThrowablethat indicates serious problems that a reasonable application should not try to catch.classExceptionThe classExceptionand its subclasses are a form ofThrowablethat indicates conditions that a reasonable application might want to catch.classExceptionInInitializerErrorSignals that an unexpected exception has occurred in a static initializer.classIllegalAccessErrorThrown if an application attempts to access or modify a field, or to call a method that it does not have access to.classIllegalAccessExceptionAn 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.classIllegalArgumentExceptionThrown to indicate that a method has been passed an illegal or inappropriate argument.classIllegalCallerExceptionThrown to indicate that a method has been called by an inappropriate caller.classIllegalMonitorStateExceptionThrown 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.classIllegalStateExceptionSignals that a method has been invoked at an illegal or inappropriate time.classIllegalThreadStateExceptionThrown to indicate that a thread is not in an appropriate state for the requested operation.classIncompatibleClassChangeErrorThrown when an incompatible class change has occurred to some class definition.classIndexOutOfBoundsExceptionThrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range.classInstantiationErrorThrown when an application tries to use the Javanewconstruct to instantiate an abstract class or an interface.classInstantiationExceptionThrown when an application tries to create an instance of a class using thenewInstancemethod in classClass, but the specified class object cannot be instantiated.classInternalErrorThrown to indicate some unexpected internal error has occurred in the Java Virtual Machine.classInterruptedExceptionThrown when a thread is waiting, sleeping, or otherwise occupied, and the thread is interrupted, either before or during the activity.classLayerInstantiationExceptionThrown when creating a module layer fails.classLinkageErrorSubclasses ofLinkageErrorindicate that a class has some dependency on another class; however, the latter class has incompatibly changed after the compilation of the former class.classNegativeArraySizeExceptionThrown if an application tries to create an array with negative size.classNoClassDefFoundErrorThrown if the Java Virtual Machine or aClassLoaderinstance tries to load in the definition of a class (as part of a normal method call or as part of creating a new instance using thenewexpression) and no definition of the class could be found.classNoSuchFieldErrorThrown if an application tries to access or modify a specified field of an object, and that object no longer has that field.classNoSuchFieldExceptionSignals that the class doesn't have a field of a specified name.classNoSuchMethodErrorThrown if an application tries to call a specified method of a class (either static or instance), and that class no longer has a definition of that method.classNoSuchMethodExceptionThrown when a particular method cannot be found.classNullPointerExceptionThrown when an application attempts to usenullin a case where an object is required.classNumberFormatExceptionThrown 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.classOutOfMemoryErrorThrown when the Java Virtual Machine cannot allocate an object because it is out of memory, and no more memory could be made available by the garbage collector.classReflectiveOperationExceptionCommon superclass of exceptions thrown by reflective operations in core reflection.classRuntimeExceptionRuntimeExceptionis the superclass of those exceptions that can be thrown during the normal operation of the Java Virtual Machine.classSecurityExceptionThrown by the security manager to indicate a security violation.classStackOverflowErrorThrown when a stack overflow occurs because an application recurses too deeply.classStringIndexOutOfBoundsExceptionThrown byStringmethods to indicate that an index is either negative or greater than the size of the string.classThreadDeathAn instance ofThreadDeathis thrown in the victim thread when the (deprecated)Thread.stop()method is invoked.classTypeNotPresentExceptionThrown 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.classUnknownErrorThrown when an unknown but serious exception has occurred in the Java Virtual Machine.classUnsatisfiedLinkErrorThrown if the Java Virtual Machine cannot find an appropriate native-language definition of a method declarednative.classUnsupportedClassVersionErrorThrown when the Java Virtual Machine attempts to read a class file and determines that the major and minor version numbers in the file are not supported.classUnsupportedOperationExceptionThrown to indicate that the requested operation is not supported.classVerifyErrorThrown when the "verifier" detects that a class file, though well formed, contains some sort of internal inconsistency or security problem.classVirtualMachineErrorThrown to indicate that the Java Virtual Machine is broken or has run out of resources necessary for it to continue operating.Methods in java.lang that return Throwable Modifier and Type Method Description ThrowableThrowable. fillInStackTrace()Fills in the execution stack trace.ThrowableClassNotFoundException. getCause()Returns the cause of this exception (the exception that was raised if an error occurred while attempting to load the class; otherwisenull).ThrowableExceptionInInitializerError. getCause()Returns the cause of this error (the exception that occurred during a static initialization that caused this error to be created).ThrowableThrowable. getCause()Returns the cause of this throwable ornullif the cause is nonexistent or unknown.ThrowableClassNotFoundException. getException()Returns the exception that was raised if an error occurred while attempting to load the class.ThrowableExceptionInInitializerError. getException()Returns the exception that occurred during a static initialization that caused this error to be created.Throwable[]Throwable. getSuppressed()Returns an array containing all of the exceptions that were suppressed, typically by thetry-with-resources statement, in order to deliver this exception.ThrowableThrowable. initCause(Throwable cause)Initializes the cause of this throwable to the specified value.Methods in java.lang with parameters of type Throwable Modifier and Type Method Description voidThrowable. addSuppressed(Throwable exception)Appends the specified exception to the exceptions that were suppressed in order to deliver this exception.ThrowableThrowable. initCause(Throwable cause)Initializes the cause of this throwable to the specified value.default voidSystem.Logger. log(System.Logger.Level level, String msg, Throwable thrown)Logs a message associated with a given throwable.default voidSystem.Logger. log(System.Logger.Level level, Supplier<String> msgSupplier, Throwable thrown)Logs a lazily supplied message associated with a given throwable.voidSystem.Logger. log(System.Logger.Level level, ResourceBundle bundle, String msg, Throwable thrown)Logs a localized message associated with a given throwable.voidThread.UncaughtExceptionHandler. uncaughtException(Thread t, Throwable e)Method invoked when the given thread terminates due to the given uncaught exception.voidThreadGroup. uncaughtException(Thread t, Throwable e)Called by the Java Virtual Machine when a thread in this thread group stops because of an uncaught exception, and the thread does not have a specificThread.UncaughtExceptionHandlerinstalled.Methods in java.lang that throw Throwable Modifier and Type Method Description protected voidObject. finalize()Deprecated.The finalization mechanism is inherently problematic.Constructors in java.lang with parameters of type Throwable Constructor Description AssertionError(String message, Throwable cause)Constructs a newAssertionErrorwith the specified detail message and cause.BootstrapMethodError(String s, Throwable cause)Constructs aBootstrapMethodErrorwith the specified detail message and cause.BootstrapMethodError(Throwable cause)Constructs aBootstrapMethodErrorwith the specified cause.ClassNotFoundException(String s, Throwable ex)Constructs aClassNotFoundExceptionwith the specified detail message and optional exception that was raised while loading the class.Error(String message, Throwable cause)Constructs a new error with the specified detail message and cause.Error(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)Constructs a new error with the specified detail message, cause, suppression enabled or disabled, and writable stack trace enabled or disabled.Error(Throwable cause)Constructs a new error with the specified cause and a detail message of(cause==null ? null : cause.toString())(which typically contains the class and detail message ofcause).Exception(String message, Throwable cause)Constructs a new exception with the specified detail message and cause.Exception(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)Constructs a new exception with the specified detail message, cause, suppression enabled or disabled, and writable stack trace enabled or disabled.Exception(Throwable cause)Constructs a new exception with the specified cause and a detail message of(cause==null ? null : cause.toString())(which typically contains the class and detail message ofcause).ExceptionInInitializerError(Throwable thrown)Constructs a newExceptionInInitializerErrorclass by saving a reference to theThrowableobject thrown for later retrieval by theExceptionInInitializerError.getException()method.IllegalArgumentException(String message, Throwable cause)Constructs a new exception with the specified detail message and cause.IllegalArgumentException(Throwable cause)Constructs a new exception with the specified cause and a detail message of(cause==null ? null : cause.toString())(which typically contains the class and detail message ofcause).IllegalCallerException(String message, Throwable cause)Constructs a new exception with the specified detail message and cause.IllegalCallerException(Throwable cause)Constructs a new exception with the specified cause and a detail message of(cause==null ? null : cause.toString())(which typically contains the class and detail message ofcause).IllegalStateException(String message, Throwable cause)Constructs a new exception with the specified detail message and cause.IllegalStateException(Throwable cause)Constructs a new exception with the specified cause and a detail message of(cause==null ? null : cause.toString())(which typically contains the class and detail message ofcause).InternalError(String message, Throwable cause)Constructs anInternalErrorwith the specified detail message and cause.InternalError(Throwable cause)Constructs anInternalErrorwith the specified cause and a detail message of(cause==null ? null : cause.toString())(which typically contains the class and detail message ofcause).LayerInstantiationException(String msg, Throwable cause)Constructs aLayerInstantiationExceptionwith the given detail message and cause.LayerInstantiationException(Throwable cause)Constructs aLayerInstantiationExceptionwith the given cause.LinkageError(String s, Throwable cause)Constructs aLinkageErrorwith the specified detail message and cause.ReflectiveOperationException(String message, Throwable cause)Constructs a new exception with the specified detail message and cause.ReflectiveOperationException(Throwable cause)Constructs a new exception with the specified cause and a detail message of(cause==null ? null : cause.toString())(which typically contains the class and detail message ofcause).RuntimeException(String message, Throwable cause)Constructs a new runtime exception with the specified detail message and cause.RuntimeException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)Constructs a new runtime exception with the specified detail message, cause, suppression enabled or disabled, and writable stack trace enabled or disabled.RuntimeException(Throwable cause)Constructs a new runtime exception with the specified cause and a detail message of(cause==null ? null : cause.toString())(which typically contains the class and detail message ofcause).SecurityException(String message, Throwable cause)Creates aSecurityExceptionwith the specified detail message and cause.SecurityException(Throwable cause)Creates aSecurityExceptionwith the specified cause and a detail message of(cause==null ? null : cause.toString())(which typically contains the class and detail message ofcause).Throwable(String message, Throwable cause)Constructs a new throwable with the specified detail message and cause.Throwable(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)Constructs a new throwable with the specified detail message, cause, suppression enabled or disabled, and writable stack trace enabled or disabled.Throwable(Throwable cause)Constructs a new throwable with the specified cause and a detail message of(cause==null ? null : cause.toString())(which typically contains the class and detail message ofcause).TypeNotPresentException(String typeName, Throwable cause)Constructs aTypeNotPresentExceptionfor the named type with the specified cause.UnsupportedOperationException(String message, Throwable cause)Constructs a new exception with the specified detail message and cause.UnsupportedOperationException(Throwable cause)Constructs a new exception with the specified cause and a detail message of(cause==null ? null : cause.toString())(which typically contains the class and detail message ofcause).VirtualMachineError(String message, Throwable cause)Constructs aVirtualMachineErrorwith the specified detail message and cause.VirtualMachineError(Throwable cause)Constructs an aVirtualMachineErrorwith the specified cause and a detail message of(cause==null ? null : cause.toString())(which typically contains the class and detail message ofcause). -
Uses of Throwable in java.lang.annotation
Subclasses of Throwable in java.lang.annotation Modifier and Type Class Description classAnnotationFormatErrorThrown when the annotation parser attempts to read an annotation from a class file and determines that the annotation is malformed.classAnnotationTypeMismatchExceptionThrown 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).classIncompleteAnnotationExceptionThrown to indicate that a program has attempted to access an element of an annotation type that was added to the annotation type definition after the annotation was compiled (or serialized).Constructors in java.lang.annotation with parameters of type Throwable Constructor Description AnnotationFormatError(String message, Throwable cause)Constructs a newAnnotationFormatErrorwith the specified detail message and cause.AnnotationFormatError(Throwable cause)Constructs a newAnnotationFormatErrorwith the specified cause and a detail message of(cause == null ? null : cause.toString())(which typically contains the class and detail message ofcause). -
Uses of Throwable in java.lang.instrument
Subclasses of Throwable in java.lang.instrument Modifier and Type Class Description classIllegalClassFormatExceptionThrown by an implementation ofClassFileTransformer.transformwhen its input parameters are invalid.classUnmodifiableClassExceptionThrown by an implementation ofInstrumentation.redefineClasseswhen one of the specified classes cannot be modified.classUnmodifiableModuleExceptionThrown to indicate that a module cannot be modified. -
Uses of Throwable in java.lang.invoke
Subclasses of Throwable in java.lang.invoke Modifier and Type Class Description classLambdaConversionExceptionLambdaConversionExceptionclassStringConcatExceptionStringConcatException is thrown byStringConcatFactorywhen linkage invariants are violated.classWrongMethodTypeExceptionThrown to indicate that code has attempted to call a method handle via the wrong method type.Method parameters in java.lang.invoke with type arguments of type Throwable Modifier and Type Method Description static MethodHandleMethodHandles. catchException(MethodHandle target, Class<? extends Throwable> exType, MethodHandle handler)Makes a method handle which adapts a target method handle, by running it inside an exception handler.Methods in java.lang.invoke that throw Throwable Modifier and Type Method Description static ObjectConstantBootstraps. invoke(MethodHandles.Lookup lookup, String name, Class<?> type, MethodHandle handle, Object... args)Returns the result of invoking a method handle with the provided arguments.ObjectMethodHandle. invoke(Object... args)Invokes the method handle, allowing any caller type descriptor, and optionally performing conversions on arguments and return values.ObjectMethodHandle. invokeExact(Object... args)Invokes the method handle, allowing any caller type descriptor, but requiring an exact type match.ObjectMethodHandle. invokeWithArguments(Object... arguments)Performs a variable arity invocation, passing the arguments in the given array to the method handle, as if via an inexactinvokefrom a call site which mentions only the typeObject, and whose actual argument count is the length of the argument array.ObjectMethodHandle. invokeWithArguments(List<?> arguments)Performs a variable arity invocation, passing the arguments in the given list to the method handle, as if via an inexactinvokefrom a call site which mentions only the typeObject, and whose actual argument count is the length of the argument list.Constructors in java.lang.invoke with parameters of type Throwable Constructor Description LambdaConversionException(String message, Throwable cause)Constructs aLambdaConversionExceptionwith a message and cause.LambdaConversionException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)Constructs aLambdaConversionExceptionwith a message, cause, and other settings.LambdaConversionException(Throwable cause)Constructs aLambdaConversionExceptionwith a cause.StringConcatException(String msg, Throwable cause)Constructs an exception with a message and a linked throwableConstructors in java.lang.invoke that throw Throwable Constructor Description ConstantCallSite(MethodType targetType, MethodHandle createTargetHook)Creates a call site with a permanent target, possibly bound to the call site itself. -
Uses of Throwable in java.lang.module
Subclasses of Throwable in java.lang.module Modifier and Type Class Description classFindExceptionThrown by aModuleFinderwhen an error occurs finding a module.classInvalidModuleDescriptorExceptionThrown when reading a module descriptor and the module descriptor is found to be malformed or otherwise cannot be interpreted as a module descriptor.classResolutionExceptionThrown when resolving a set of modules, or resolving a set of modules with service binding, fails.Constructors in java.lang.module with parameters of type Throwable Constructor Description FindException(String msg, Throwable cause)Constructs aFindExceptionwith the given detail message and cause.FindException(Throwable cause)Constructs aFindExceptionwith the given cause.ResolutionException(String msg, Throwable cause)Constructs aResolutionExceptionwith the given detail message and cause.ResolutionException(Throwable cause)Constructs an instance of this exception with the given cause. -
Uses of Throwable in java.lang.reflect
Subclasses of Throwable in java.lang.reflect Modifier and Type Class Description classGenericSignatureFormatErrorThrown when a syntactically malformed signature attribute is encountered by a reflective method that needs to interpret the generic signature information for a type, method or constructor.classInaccessibleObjectExceptionThrown when Java language access checks cannot be suppressed.classInvocationTargetExceptionInvocationTargetException is a checked exception that wraps an exception thrown by an invoked method or constructor.classMalformedParameterizedTypeExceptionThrown when a semantically malformed parameterized type is encountered by a reflective method that needs to instantiate it.classMalformedParametersExceptionThrown whenthe java.lang.reflect packageattempts to read method parameters from a class file and determines that one or more parameters are malformed.classUndeclaredThrowableExceptionThrown by a method invocation on a proxy instance if its invocation handler'sinvokemethod throws a checked exception (aThrowablethat is not assignable toRuntimeExceptionorError) that is not assignable to any of the exception types declared in thethrowsclause of the method that was invoked on the proxy instance and dispatched to the invocation handler.Methods in java.lang.reflect that return Throwable Modifier and Type Method Description ThrowableInvocationTargetException. getCause()Returns the cause of this exception (the thrown target exception, which may benull).ThrowableUndeclaredThrowableException. getCause()Returns the cause of this exception (theThrowableinstance wrapped in thisUndeclaredThrowableException, which may benull).ThrowableInvocationTargetException. getTargetException()Get the thrown target exception.ThrowableUndeclaredThrowableException. getUndeclaredThrowable()Returns theThrowableinstance wrapped in thisUndeclaredThrowableException, which may benull.Methods in java.lang.reflect that throw Throwable Modifier and Type Method Description ObjectInvocationHandler. invoke(Object proxy, Method method, Object[] args)Processes a method invocation on a proxy instance and returns the result.Constructors in java.lang.reflect with parameters of type Throwable Constructor Description InvocationTargetException(Throwable target)Constructs a InvocationTargetException with a target exception.InvocationTargetException(Throwable target, String s)Constructs a InvocationTargetException with a target exception and a detail message.UndeclaredThrowableException(Throwable undeclaredThrowable)Constructs anUndeclaredThrowableExceptionwith the specifiedThrowable.UndeclaredThrowableException(Throwable undeclaredThrowable, String s)Constructs anUndeclaredThrowableExceptionwith the specifiedThrowableand a detail message. -
Uses of Throwable in java.net
Subclasses of Throwable in java.net Modifier and Type Class Description classBindExceptionSignals that an error occurred while attempting to bind a socket to a local address and port.classConnectExceptionSignals that an error occurred while attempting to connect a socket to a remote address and port.classHttpRetryExceptionThrown to indicate that a HTTP request needs to be retried but cannot be retried automatically, due to streaming mode being enabled.classMalformedURLExceptionThrown to indicate that a malformed URL has occurred.classNoRouteToHostExceptionSignals that an error occurred while attempting to connect a socket to a remote address and port.classPortUnreachableExceptionSignals that an ICMP Port Unreachable message has been received on a connected datagram.classProtocolExceptionThrown to indicate that there is an error in the underlying protocol, such as a TCP error.classSocketExceptionThrown to indicate that there is an error creating or accessing a Socket.classSocketTimeoutExceptionSignals that a timeout has occurred on a socket read or accept.classUnknownHostExceptionThrown to indicate that the IP address of a host could not be determined.classUnknownServiceExceptionThrown to indicate that an unknown service exception has occurred.classURISyntaxExceptionChecked exception thrown to indicate that a string could not be parsed as a URI reference. -
Uses of Throwable in java.net.http
Subclasses of Throwable in java.net.http Modifier and Type Class Description classHttpConnectTimeoutExceptionThrown when a connection, over which anHttpRequestis intended to be sent, is not successfully established within a specified time period.classHttpTimeoutExceptionThrown when a response is not received within a specified time period.classWebSocketHandshakeExceptionThrown when the opening handshake has failed.Methods in java.net.http with parameters of type Throwable Modifier and Type Method Description default voidWebSocket.Listener. onError(WebSocket webSocket, Throwable error)An error has occurred. -
Uses of Throwable in java.nio
Subclasses of Throwable in java.nio Modifier and Type Class Description classBufferOverflowExceptionUnchecked exception thrown when a relative put operation reaches the target buffer's limit.classBufferUnderflowExceptionUnchecked exception thrown when a relative get operation reaches the source buffer's limit.classInvalidMarkExceptionUnchecked exception thrown when an attempt is made to reset a buffer when its mark is not defined.classReadOnlyBufferExceptionUnchecked exception thrown when a content-mutation method such asputorcompactis invoked upon a read-only buffer. -
Uses of Throwable in java.nio.channels
Subclasses of Throwable in java.nio.channels Modifier and Type Class Description classAcceptPendingExceptionUnchecked exception thrown when an attempt is made to initiate an accept operation on a channel and a previous accept operation has not completed.classAlreadyBoundExceptionUnchecked exception thrown when an attempt is made to bind the socket a network oriented channel that is already bound.classAlreadyConnectedExceptionUnchecked exception thrown when an attempt is made to connect aSocketChannelthat is already connected.classAsynchronousCloseExceptionChecked 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.classCancelledKeyExceptionUnchecked exception thrown when an attempt is made to use a selection key that is no longer valid.classClosedByInterruptExceptionChecked exception received by a thread when another thread interrupts it while it is blocked in an I/O operation upon a channel.classClosedChannelExceptionChecked 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.classClosedSelectorExceptionUnchecked exception thrown when an attempt is made to invoke an I/O operation upon a closed selector.classConnectionPendingExceptionUnchecked exception thrown when an attempt is made to connect aSocketChannelfor which a non-blocking connection operation is already in progress.classFileLockInterruptionExceptionChecked exception received by a thread when another thread interrupts it while it is waiting to acquire a file lock.classIllegalBlockingModeExceptionUnchecked exception thrown when a blocking-mode-specific operation is invoked upon a channel in the incorrect blocking mode.classIllegalChannelGroupExceptionUnchecked exception thrown when an attempt is made to open a channel in a group that was not created by the same provider.classIllegalSelectorExceptionUnchecked 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.classInterruptedByTimeoutExceptionChecked exception received by a thread when a timeout elapses before an asynchronous operation completes.classNoConnectionPendingExceptionUnchecked exception thrown when thefinishConnectmethod of aSocketChannelis invoked without first successfully invoking itsconnectmethod.classNonReadableChannelExceptionUnchecked exception thrown when an attempt is made to read from a channel that was not originally opened for reading.classNonWritableChannelExceptionUnchecked exception thrown when an attempt is made to write to a channel that was not originally opened for writing.classNotYetBoundExceptionUnchecked exception thrown when an attempt is made to invoke an I/O operation upon a server socket channel that is not yet bound.classNotYetConnectedExceptionUnchecked exception thrown when an attempt is made to invoke an I/O operation upon a socket channel that is not yet connected.classOverlappingFileLockExceptionUnchecked 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.classReadPendingExceptionUnchecked exception thrown when an attempt is made to read from an asynchronous socket channel and a previous read has not completed.classShutdownChannelGroupExceptionUnchecked 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.classUnresolvedAddressExceptionUnchecked exception thrown when an attempt is made to invoke a network operation upon an unresolved socket address.classUnsupportedAddressTypeExceptionUnchecked exception thrown when an attempt is made to bind or connect to a socket address of a type that is not supported.classWritePendingExceptionUnchecked exception thrown when an attempt is made to write to an asynchronous socket channel and a previous write has not completed.Methods in java.nio.channels with parameters of type Throwable Modifier and Type Method Description voidCompletionHandler. failed(Throwable exc, A attachment)Invoked when an operation fails. -
Uses of Throwable in java.nio.charset
Subclasses of Throwable in java.nio.charset Modifier and Type Class Description classCharacterCodingExceptionChecked exception thrown when a character encoding or decoding error occurs.classCoderMalfunctionErrorError thrown when thedecodeLoopmethod of aCharsetDecoder, or theencodeLoopmethod of aCharsetEncoder, throws an unexpected exception.classIllegalCharsetNameExceptionUnchecked exception thrown when a string that is not a legal charset name is used as such.classMalformedInputExceptionChecked 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.classUnmappableCharacterExceptionChecked exception thrown when an input character (or byte) sequence is valid but cannot be mapped to an output byte (or character) sequence.classUnsupportedCharsetExceptionUnchecked exception thrown when no support is available for a requested charset. -
Uses of Throwable in java.nio.file
Subclasses of Throwable in java.nio.file Modifier and Type Class Description classAccessDeniedExceptionChecked exception thrown when a file system operation is denied, typically due to a file permission or other access check.classAtomicMoveNotSupportedExceptionChecked exception thrown when a file cannot be moved as an atomic file system operation.classClosedDirectoryStreamExceptionUnchecked exception thrown when an attempt is made to invoke an operation on a directory stream that is closed.classClosedFileSystemExceptionUnchecked exception thrown when an attempt is made to invoke an operation on a file and the file system is closed.classClosedWatchServiceExceptionUnchecked exception thrown when an attempt is made to invoke an operation on a watch service that is closed.classDirectoryIteratorExceptionRuntime exception thrown if an I/O error is encountered when iterating over the entries in a directory.classDirectoryNotEmptyExceptionChecked exception thrown when a file system operation fails because a directory is not empty.classFileAlreadyExistsExceptionChecked exception thrown when an attempt is made to create a file or directory and a file of that name already exists.classFileSystemAlreadyExistsExceptionRuntime exception thrown when an attempt is made to create a file system that already exists.classFileSystemExceptionThrown when a file system operation fails on one or two files.classFileSystemLoopExceptionChecked exception thrown when a file system loop, or cycle, is encountered.classFileSystemNotFoundExceptionRuntime exception thrown when a file system cannot be found.classInvalidPathExceptionUnchecked exception thrown when path string cannot be converted into aPathbecause the path string contains invalid characters, or the path string is invalid for other file system specific reasons.classNoSuchFileExceptionChecked exception thrown when an attempt is made to access a file that does not exist.classNotDirectoryExceptionChecked exception thrown when a file system operation, intended for a directory, fails because the file is not a directory.classNotLinkExceptionChecked exception thrown when a file system operation fails because a file is not a symbolic link.classProviderMismatchExceptionUnchecked 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.classProviderNotFoundExceptionRuntime exception thrown when a provider of the required type cannot be found.classReadOnlyFileSystemExceptionUnchecked exception thrown when an attempt is made to update an object associated with aread-onlyFileSystem. -
Uses of Throwable in java.nio.file.attribute
Subclasses of Throwable in java.nio.file.attribute Modifier and Type Class Description classUserPrincipalNotFoundExceptionChecked exception thrown when a lookup ofUserPrincipalfails because the principal does not exist. -
Uses of Throwable in java.rmi
Subclasses of Throwable in java.rmi Modifier and Type Class Description classAccessExceptionAnAccessExceptionis thrown by certain methods of thejava.rmi.Namingclass (specificallybind,rebind, andunbind) and methods of thejava.rmi.activation.ActivationSysteminterface to indicate that the caller does not have permission to perform the action requested by the method call.classAlreadyBoundExceptionAnAlreadyBoundExceptionis thrown if an attempt is made to bind an object in the registry to a name that already has an associated binding.classConnectExceptionAConnectExceptionis thrown if a connection is refused to the remote host for a remote method call.classConnectIOExceptionAConnectIOExceptionis thrown if anIOExceptionoccurs while making a connection to the remote host for a remote method call.classMarshalExceptionAMarshalExceptionis thrown if ajava.io.IOExceptionoccurs while marshalling the remote call header, arguments or return value for a remote method call.classNoSuchObjectExceptionANoSuchObjectExceptionis thrown if an attempt is made to invoke a method on an object that no longer exists in the remote virtual machine.classNotBoundExceptionANotBoundExceptionis thrown if an attempt is made to lookup or unbind in the registry a name that has no associated binding.classRemoteExceptionARemoteExceptionis the common superclass for a number of communication-related exceptions that may occur during the execution of a remote method call.classRMISecurityExceptionDeprecated.UseSecurityExceptioninstead.classServerErrorAServerErroris thrown as a result of a remote method invocation when anErroris thrown while processing the invocation on the server, either while unmarshalling the arguments, executing the remote method itself, or marshalling the return value.classServerExceptionAServerExceptionis thrown as a result of a remote method invocation when aRemoteExceptionis thrown while processing the invocation on the server, either while unmarshalling the arguments or executing the remote method itself.classServerRuntimeExceptionDeprecated.no replacementclassStubNotFoundExceptionAStubNotFoundExceptionis thrown if a valid stub class could not be found for a remote object when it is exported.classUnexpectedExceptionAnUnexpectedExceptionis 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 thethrowsclause of the method in the remote interface.classUnknownHostExceptionAnUnknownHostExceptionis thrown if ajava.net.UnknownHostExceptionoccurs while creating a connection to the remote host for a remote method call.classUnmarshalExceptionAnUnmarshalExceptioncan 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.IOExceptionoccurs unmarshalling parameters (on the server side) or the return value (on the client side).Fields in java.rmi declared as Throwable Modifier and Type Field Description ThrowableRemoteException. detailThe cause of the remote exception.Methods in java.rmi that return Throwable Modifier and Type Method Description ThrowableRemoteException. getCause()Returns the cause of this exception.Constructors in java.rmi with parameters of type Throwable Constructor Description RemoteException(String s, Throwable cause)Constructs aRemoteExceptionwith the specified detail message and cause. -
Uses of Throwable in java.rmi.activation
Subclasses of Throwable in java.rmi.activation Modifier and Type Class Description classActivateFailedExceptionThis exception is thrown by the RMI runtime when activation fails during a remote call to an activatable object.classActivationExceptionGeneral exception used by the activation interfaces.classUnknownGroupExceptionAnUnknownGroupExceptionis thrown by methods of classes and interfaces in thejava.rmi.activationpackage when theActivationGroupIDparameter to the method is determined to be invalid, i.e., not known by theActivationSystem.classUnknownObjectExceptionAnUnknownObjectExceptionis thrown by methods of classes and interfaces in thejava.rmi.activationpackage when theActivationIDparameter to the method is determined to be invalid.Fields in java.rmi.activation declared as Throwable Modifier and Type Field Description ThrowableActivationException. detailThe cause of the activation exception.Methods in java.rmi.activation that return Throwable Modifier and Type Method Description ThrowableActivationException. getCause()Returns the cause of this exception.Constructors in java.rmi.activation with parameters of type Throwable Constructor Description ActivationException(String s, Throwable cause)Constructs anActivationExceptionwith the specified detail message and cause. -
Uses of Throwable in java.rmi.server
Subclasses of Throwable in java.rmi.server Modifier and Type Class Description classExportExceptionAnExportExceptionis aRemoteExceptionthrown if an attempt to export a remote object fails.classServerCloneExceptionAServerCloneExceptionis thrown if a remote exception occurs during the cloning of aUnicastRemoteObject.classServerNotActiveExceptionAnServerNotActiveExceptionis anExceptionthrown during a call toRemoteServer.getClientHostif the getClientHost method is called outside of servicing a remote method call.classSkeletonMismatchExceptionDeprecated.no replacement.classSkeletonNotFoundExceptionDeprecated.no replacement.classSocketSecurityExceptionDeprecated.This class is obsolete.Methods in java.rmi.server that return Throwable Modifier and Type Method Description ThrowableServerCloneException. getCause()Returns the cause of this exception.Methods in java.rmi.server that throw Throwable Modifier and Type Method Description ObjectRemoteObjectInvocationHandler. invoke(Object proxy, Method method, Object[] args)Processes a method invocation made on the encapsulating proxy instance,proxy, and returns the result. -
Uses of Throwable in java.security
Subclasses of Throwable in java.security Modifier and Type Class Description classAccessControlExceptionThis exception is thrown by the AccessController to indicate that a requested access (to a critical system resource such as the file system or the network) is denied.classDigestExceptionThis is the generic Message Digest exception.classGeneralSecurityExceptionTheGeneralSecurityExceptionclass is a generic security exception class that provides type safety for all the security-related exception classes that extend from it.classInvalidAlgorithmParameterExceptionThis is the exception for invalid or inappropriate algorithm parameters.classInvalidKeyExceptionThis is the exception for invalid Keys (invalid encoding, wrong length, uninitialized, etc).classInvalidParameterExceptionThis exception, designed for use by the JCA/JCE engine classes, is thrown when an invalid parameter is passed to a method.classKeyExceptionThis is the basic key exception.classKeyManagementExceptionThis is the general key management exception for all operations dealing with key management.classKeyStoreExceptionThis is the generic KeyStore exception.classNoSuchAlgorithmExceptionThis exception is thrown when a particular cryptographic algorithm is requested but is not available in the environment.classNoSuchProviderExceptionThis exception is thrown when a particular security provider is requested but is not available in the environment.classPrivilegedActionExceptionThis exception is thrown bydoPrivileged(PrivilegedExceptionAction)anddoPrivileged(PrivilegedExceptionAction, AccessControlContext context)to indicate that the action being performed threw a checked exception.classProviderExceptionA 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.classSignatureExceptionThis is the generic Signature exception.classUnrecoverableEntryExceptionThis exception is thrown if an entry in the keystore cannot be recovered.classUnrecoverableKeyExceptionThis exception is thrown if a key in the keystore cannot be recovered.Methods in java.security that return Throwable Modifier and Type Method Description ThrowablePrivilegedActionException. getCause()Returns the cause of this exception (the exception thrown by the privileged computation that resulted in thisPrivilegedActionException).Constructors in java.security with parameters of type Throwable Constructor Description DigestException(String message, Throwable cause)Creates aDigestExceptionwith the specified detail message and cause.DigestException(Throwable cause)Creates aDigestExceptionwith the specified cause and a detail message of(cause==null ? null : cause.toString())(which typically contains the class and detail message ofcause).GeneralSecurityException(String message, Throwable cause)Creates aGeneralSecurityExceptionwith the specified detail message and cause.GeneralSecurityException(Throwable cause)Creates aGeneralSecurityExceptionwith the specified cause and a detail message of(cause==null ? null : cause.toString())(which typically contains the class and detail message ofcause).InvalidAlgorithmParameterException(String message, Throwable cause)Creates anInvalidAlgorithmParameterExceptionwith the specified detail message and cause.InvalidAlgorithmParameterException(Throwable cause)Creates anInvalidAlgorithmParameterExceptionwith the specified cause and a detail message of(cause==null ? null : cause.toString())(which typically contains the class and detail message ofcause).InvalidKeyException(String message, Throwable cause)Creates anInvalidKeyExceptionwith the specified detail message and cause.InvalidKeyException(Throwable cause)Creates anInvalidKeyExceptionwith the specified cause and a detail message of(cause==null ? null : cause.toString())(which typically contains the class and detail message ofcause).KeyException(String message, Throwable cause)Creates aKeyExceptionwith the specified detail message and cause.KeyException(Throwable cause)Creates aKeyExceptionwith the specified cause and a detail message of(cause==null ? null : cause.toString())(which typically contains the class and detail message ofcause).KeyManagementException(String message, Throwable cause)Creates aKeyManagementExceptionwith the specified detail message and cause.KeyManagementException(Throwable cause)Creates aKeyManagementExceptionwith the specified cause and a detail message of(cause==null ? null : cause.toString())(which typically contains the class and detail message ofcause).KeyStoreException(String message, Throwable cause)Creates aKeyStoreExceptionwith the specified detail message and cause.KeyStoreException(Throwable cause)Creates aKeyStoreExceptionwith the specified cause and a detail message of(cause==null ? null : cause.toString())(which typically contains the class and detail message ofcause).NoSuchAlgorithmException(String message, Throwable cause)Creates aNoSuchAlgorithmExceptionwith the specified detail message and cause.NoSuchAlgorithmException(Throwable cause)Creates aNoSuchAlgorithmExceptionwith the specified cause and a detail message of(cause==null ? null : cause.toString())(which typically contains the class and detail message ofcause).ProviderException(String message, Throwable cause)Creates aProviderExceptionwith the specified detail message and cause.ProviderException(Throwable cause)Creates aProviderExceptionwith the specified cause and a detail message of(cause==null ? null : cause.toString())(which typically contains the class and detail message ofcause).SignatureException(String message, Throwable cause)Creates aSignatureExceptionwith the specified detail message and cause.SignatureException(Throwable cause)Creates aSignatureExceptionwith the specified cause and a detail message of(cause==null ? null : cause.toString())(which typically contains the class and detail message ofcause). -
Uses of Throwable in java.security.acl
Subclasses of Throwable in java.security.acl Modifier and Type Class Description classAclNotFoundExceptionDeprecated, for removal: This API element is subject to removal in a future version.This class is deprecated and subject to removal in a future version of Java SE.classLastOwnerExceptionDeprecated, for removal: This API element is subject to removal in a future version.This class is deprecated and subject to removal in a future version of Java SE.classNotOwnerExceptionDeprecated, for removal: This API element is subject to removal in a future version.This class is deprecated and subject to removal in a future version of Java SE. -
Uses of Throwable in java.security.cert
Subclasses of Throwable in java.security.cert Modifier and Type Class Description classCertificateEncodingExceptionCertificate Encoding Exception.classCertificateExceptionThis exception indicates one of a variety of certificate problems.classCertificateExpiredExceptionCertificate Expired Exception.classCertificateNotYetValidExceptionCertificate is not yet valid exception.classCertificateParsingExceptionCertificate Parsing Exception.classCertificateRevokedExceptionAn exception that indicates an X.509 certificate is revoked.classCertPathBuilderExceptionAn exception indicating one of a variety of problems encountered when building a certification path with aCertPathBuilder.classCertPathValidatorExceptionAn exception indicating one of a variety of problems encountered when validating a certification path.classCertStoreExceptionAn exception indicating one of a variety of problems retrieving certificates and CRLs from aCertStore.classCRLExceptionCRL (Certificate Revocation List) Exception.Constructors in java.security.cert with parameters of type Throwable Constructor Description CertificateEncodingException(String message, Throwable cause)Creates aCertificateEncodingExceptionwith the specified detail message and cause.CertificateEncodingException(Throwable cause)Creates aCertificateEncodingExceptionwith the specified cause and a detail message of(cause==null ? null : cause.toString())(which typically contains the class and detail message ofcause).CertificateException(String message, Throwable cause)Creates aCertificateExceptionwith the specified detail message and cause.CertificateException(Throwable cause)Creates aCertificateExceptionwith the specified cause and a detail message of(cause==null ? null : cause.toString())(which typically contains the class and detail message ofcause).CertificateParsingException(String message, Throwable cause)Creates aCertificateParsingExceptionwith the specified detail message and cause.CertificateParsingException(Throwable cause)Creates aCertificateParsingExceptionwith the specified cause and a detail message of(cause==null ? null : cause.toString())(which typically contains the class and detail message ofcause).CertPathBuilderException(String msg, Throwable cause)Creates aCertPathBuilderExceptionwith the specified detail message and cause.CertPathBuilderException(Throwable cause)Creates aCertPathBuilderExceptionthat wraps the specified throwable.CertPathValidatorException(String msg, Throwable cause)Creates aCertPathValidatorExceptionwith the specified detail message and cause.CertPathValidatorException(String msg, Throwable cause, CertPath certPath, int index)Creates aCertPathValidatorExceptionwith the specified detail message, cause, certification path, and index.CertPathValidatorException(String msg, Throwable cause, CertPath certPath, int index, CertPathValidatorException.Reason reason)Creates aCertPathValidatorExceptionwith the specified detail message, cause, certification path, index, and reason.CertPathValidatorException(Throwable cause)Creates aCertPathValidatorExceptionthat wraps the specified throwable.CertStoreException(String msg, Throwable cause)Creates aCertStoreExceptionwith the specified detail message and cause.CertStoreException(Throwable cause)Creates aCertStoreExceptionthat wraps the specified throwable.CRLException(String message, Throwable cause)Creates aCRLExceptionwith the specified detail message and cause.CRLException(Throwable cause)Creates aCRLExceptionwith the specified cause and a detail message of(cause==null ? null : cause.toString())(which typically contains the class and detail message ofcause). -
Uses of Throwable in java.security.spec
Subclasses of Throwable in java.security.spec Modifier and Type Class Description classInvalidKeySpecExceptionThis is the exception for invalid key specifications.classInvalidParameterSpecExceptionThis is the exception for invalid parameter specifications.Constructors in java.security.spec with parameters of type Throwable Constructor Description InvalidKeySpecException(String message, Throwable cause)Creates anInvalidKeySpecExceptionwith the specified detail message and cause.InvalidKeySpecException(Throwable cause)Creates anInvalidKeySpecExceptionwith the specified cause and a detail message of(cause==null ? null : cause.toString())(which typically contains the class and detail message ofcause). -
Uses of Throwable in java.sql
Subclasses of Throwable in java.sql Modifier and Type Class Description classBatchUpdateExceptionThe subclass ofSQLExceptionthrown when an error occurs during a batch update operation.classDataTruncationAn exception thrown as aDataTruncationexception (on writes) or reported as aDataTruncationwarning (on reads) when a data values is unexpectedly truncated for reasons other than its having exceededMaxFieldSize.classSQLClientInfoExceptionThe subclass ofSQLExceptionis thrown when one or more client info properties could not be set on aConnection.classSQLDataExceptionThe subclass ofSQLExceptionthrown when the SQLState class value is '22', or under vendor-specified conditions.classSQLExceptionAn exception that provides information on a database access error or other errors.classSQLFeatureNotSupportedExceptionThe subclass ofSQLExceptionthrown when the SQLState class value is '0A' ( the value is 'zero' A).classSQLIntegrityConstraintViolationExceptionThe subclass ofSQLExceptionthrown when the SQLState class value is '23', or under vendor-specified conditions.classSQLInvalidAuthorizationSpecExceptionThe subclass ofSQLExceptionthrown when the SQLState class value is '28', or under vendor-specified conditions.classSQLNonTransientConnectionExceptionThe subclass ofSQLExceptionthrown for the SQLState class value '08', or under vendor-specified conditions.classSQLNonTransientExceptionThe subclass ofSQLExceptionthrown when an instance where a retry of the same operation would fail unless the cause of theSQLExceptionis corrected.classSQLRecoverableExceptionThe subclass ofSQLExceptionthrown 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.classSQLSyntaxErrorExceptionThe subclass ofSQLExceptionthrown when the SQLState class value is '42', or under vendor-specified conditions.classSQLTimeoutExceptionThe subclass ofSQLExceptionthrown when the timeout specified byStatement.setQueryTimeout,DriverManager.setLoginTimeout,DataSource.setLoginTimeout,XADataSource.setLoginTimeouthas expired.classSQLTransactionRollbackExceptionThe subclass ofSQLExceptionthrown when the SQLState class value is '40', or under vendor-specified conditions.classSQLTransientConnectionExceptionThe subclass ofSQLExceptionfor the SQLState class value '08', or under vendor-specified conditions.classSQLTransientExceptionThe subclass ofSQLExceptionis 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.classSQLWarningAn exception that provides information on database access warnings.Methods in java.sql that return types with arguments of type Throwable Modifier and Type Method Description Iterator<Throwable>SQLException. iterator()Returns an iterator over the chained SQLExceptions.Constructors in java.sql with parameters of type Throwable Constructor Description BatchUpdateException(int[] updateCounts, Throwable cause)Constructs aBatchUpdateExceptionobject initialized with a givencauseandupdateCounts.BatchUpdateException(String reason, int[] updateCounts, Throwable cause)Constructs aBatchUpdateExceptionobject initialized with a givenreason,causeandupdateCounts.BatchUpdateException(String reason, String SQLState, int[] updateCounts, Throwable cause)Constructs aBatchUpdateExceptionobject initialized with a givenreason,SQLState,cause, andupdateCounts.BatchUpdateException(String reason, String SQLState, int vendorCode, int[] updateCounts, Throwable cause)Constructs aBatchUpdateExceptionobject initialized with a givenreason,SQLState,vendorCodecauseandupdateCounts.BatchUpdateException(String reason, String SQLState, int vendorCode, long[] updateCounts, Throwable cause)Constructs aBatchUpdateExceptionobject initialized with a givenreason,SQLState,vendorCodecauseandupdateCounts.BatchUpdateException(Throwable cause)Constructs aBatchUpdateExceptionobject initialized with a givencause.DataTruncation(int index, boolean parameter, boolean read, int dataSize, int transferSize, Throwable cause)Creates aDataTruncationobject with the SQLState initialized to 01004 whenreadis set totrueand 22001 whenreadis set tofalse, the reason set to "Data truncation", the vendor code set to 0, and the other fields set to the given values.SQLClientInfoException(String reason, String SQLState, int vendorCode, Map<String,ClientInfoStatus> failedProperties, Throwable cause)Constructs aSQLClientInfoExceptionobject initialized with a givenreason,SQLState,cause,vendorCodeandfailedProperties.SQLClientInfoException(String reason, String SQLState, Map<String,ClientInfoStatus> failedProperties, Throwable cause)Constructs aSQLClientInfoExceptionobject initialized with a givenreason,SQLState,causeandfailedProperties.SQLClientInfoException(String reason, Map<String,ClientInfoStatus> failedProperties, Throwable cause)Constructs aSQLClientInfoExceptionobject initialized with a givenreason,causeandfailedProperties.SQLClientInfoException(Map<String,ClientInfoStatus> failedProperties, Throwable cause)Constructs aSQLClientInfoExceptionobject initialized with a givencauseandfailedProperties.SQLDataException(String reason, String SQLState, int vendorCode, Throwable cause)Constructs aSQLDataExceptionobject with a givenreason,SQLState,vendorCodeandcause.SQLDataException(String reason, String SQLState, Throwable cause)Constructs aSQLDataExceptionobject with a givenreason,SQLStateandcause.SQLDataException(String reason, Throwable cause)Constructs aSQLDataExceptionobject with a givenreasonandcause.SQLDataException(Throwable cause)Constructs aSQLDataExceptionobject with a givencause.SQLException(String reason, String sqlState, int vendorCode, Throwable cause)Constructs aSQLExceptionobject with a givenreason,SQLState,vendorCodeandcause.SQLException(String reason, String sqlState, Throwable cause)Constructs aSQLExceptionobject with a givenreason,SQLStateandcause.SQLException(String reason, Throwable cause)Constructs aSQLExceptionobject with a givenreasonandcause.SQLException(Throwable cause)Constructs aSQLExceptionobject with a givencause.SQLFeatureNotSupportedException(String reason, String SQLState, int vendorCode, Throwable cause)Constructs aSQLFeatureNotSupportedExceptionobject with a givenreason,SQLState,vendorCodeandcause.SQLFeatureNotSupportedException(String reason, String SQLState, Throwable cause)Constructs aSQLFeatureNotSupportedExceptionobject with a givenreason,SQLStateandcause.SQLFeatureNotSupportedException(String reason, Throwable cause)Constructs aSQLFeatureNotSupportedExceptionobject with a givenreasonandcause.SQLFeatureNotSupportedException(Throwable cause)Constructs aSQLFeatureNotSupportedExceptionobject with a givencause.SQLIntegrityConstraintViolationException(String reason, String SQLState, int vendorCode, Throwable cause)Constructs aSQLIntegrityConstraintViolationExceptionobject with a givenreason,SQLState,vendorCodeandcause.SQLIntegrityConstraintViolationException(String reason, String SQLState, Throwable cause)Constructs aSQLIntegrityConstraintViolationExceptionobject with a givenreason,SQLStateandcause.SQLIntegrityConstraintViolationException(String reason, Throwable cause)Constructs aSQLIntegrityConstraintViolationExceptionobject with a givenreasonandcause.SQLIntegrityConstraintViolationException(Throwable cause)Constructs anSQLIntegrityConstraintViolationExceptionobject with a givencause.SQLInvalidAuthorizationSpecException(String reason, String SQLState, int vendorCode, Throwable cause)Constructs aSQLInvalidAuthorizationSpecExceptionobject with a givenreason,SQLState,vendorCodeandcause.SQLInvalidAuthorizationSpecException(String reason, String SQLState, Throwable cause)Constructs aSQLInvalidAuthorizationSpecExceptionobject with a givenreason,SQLStateandcause.SQLInvalidAuthorizationSpecException(String reason, Throwable cause)Constructs aSQLInvalidAuthorizationSpecExceptionobject with a givenreasonandcause.SQLInvalidAuthorizationSpecException(Throwable cause)Constructs aSQLInvalidAuthorizationSpecExceptionobject with a givencause.SQLNonTransientConnectionException(String reason, String SQLState, int vendorCode, Throwable cause)Constructs aSQLNonTransientConnectionExceptionobject with a givenreason,SQLState,vendorCodeandcause.SQLNonTransientConnectionException(String reason, String SQLState, Throwable cause)Constructs aSQLNonTransientConnectionExceptionobject with a givenreason,SQLStateandcause.SQLNonTransientConnectionException(String reason, Throwable cause)Constructs aSQLTransientExceptionobject with a givenreasonandcause.SQLNonTransientConnectionException(Throwable cause)Constructs aSQLNonTransientConnectionExceptionobject with a givencause.SQLNonTransientException(String reason, String SQLState, int vendorCode, Throwable cause)Constructs aSQLNonTransientExceptionobject with a givenreason,SQLState,vendorCodeandcause.SQLNonTransientException(String reason, String SQLState, Throwable cause)Constructs aSQLNonTransientExceptionobject with a givenreason,SQLStateandcause.SQLNonTransientException(String reason, Throwable cause)Constructs aSQLTransientExceptionobject with a givenreasonandcause.SQLNonTransientException(Throwable cause)Constructs aSQLNonTransientExceptionobject with a givencause.SQLRecoverableException(String reason, String SQLState, int vendorCode, Throwable cause)Constructs aSQLRecoverableExceptionobject with a givenreason,SQLState,vendorCodeandcause.SQLRecoverableException(String reason, String SQLState, Throwable cause)Constructs aSQLRecoverableExceptionobject with a givenreason,SQLStateandcause.SQLRecoverableException(String reason, Throwable cause)Constructs aSQLRecoverableExceptionobject with a givenreasonandcause.SQLRecoverableException(Throwable cause)Constructs aSQLRecoverableExceptionobject with a givencause.SQLSyntaxErrorException(String reason, String SQLState, int vendorCode, Throwable cause)Constructs aSQLSyntaxErrorExceptionobject with a givenreason,SQLState,vendorCodeandcause.SQLSyntaxErrorException(String reason, String SQLState, Throwable cause)Constructs aSQLSyntaxErrorExceptionobject with a givenreason,SQLStateandcause.SQLSyntaxErrorException(String reason, Throwable cause)Constructs aSQLSyntaxErrorExceptionobject with a givenreasonandcause.SQLSyntaxErrorException(Throwable cause)Constructs aSQLSyntaxErrorExceptionobject with a givencause.SQLTimeoutException(String reason, String SQLState, int vendorCode, Throwable cause)Constructs aSQLTimeoutExceptionobject with a givenreason,SQLState,vendorCodeandcause.SQLTimeoutException(String reason, String SQLState, Throwable cause)Constructs aSQLTimeoutExceptionobject with a givenreason,SQLStateandcause.SQLTimeoutException(String reason, Throwable cause)Constructs aSQLTimeoutExceptionobject with a givenreasonandcause.SQLTimeoutException(Throwable cause)Constructs aSQLTimeoutExceptionobject with a givencause.SQLTransactionRollbackException(String reason, String SQLState, int vendorCode, Throwable cause)Constructs aSQLTransactionRollbackExceptionobject with a givenreason,SQLState,vendorCodeandcause.SQLTransactionRollbackException(String reason, String SQLState, Throwable cause)Constructs aSQLTransactionRollbackExceptionobject with a givenreason,SQLStateandcause.SQLTransactionRollbackException(String reason, Throwable cause)Constructs aSQLTransactionRollbackExceptionobject with a givenreasonandcause.SQLTransactionRollbackException(Throwable cause)Constructs aSQLTransactionRollbackExceptionobject with a givencause.SQLTransientConnectionException(String reason, String SQLState, int vendorCode, Throwable cause)Constructs aSQLTransientConnectionExceptionobject with a givenreason,SQLState,vendorCodeandcause.SQLTransientConnectionException(String reason, String SQLState, Throwable cause)Constructs aSQLTransientConnectionExceptionobject with a givenreason,SQLStateandcause.SQLTransientConnectionException(String reason, Throwable cause)Constructs aSQLTransientConnectionExceptionobject with a givenreasonandcause.SQLTransientConnectionException(Throwable cause)Constructs aSQLTransientConnectionExceptionobject with a givencause.SQLTransientException(String reason, String SQLState, int vendorCode, Throwable cause)Constructs aSQLTransientExceptionobject with a givenreason,SQLState,vendorCodeandcause.SQLTransientException(String reason, String SQLState, Throwable cause)Constructs aSQLTransientExceptionobject with a givenreason,SQLStateandcause.SQLTransientException(String reason, Throwable cause)Constructs aSQLTransientExceptionobject with a givenreasonandcause.SQLTransientException(Throwable cause)Constructs aSQLTransientExceptionobject with a givencause.SQLWarning(String reason, String SQLState, int vendorCode, Throwable cause)Constructs aSQLWarningobject with a givenreason,SQLState,vendorCodeandcause.SQLWarning(String reason, String SQLState, Throwable cause)Constructs aSQLWarningobject with a givenreason,SQLStateandcause.SQLWarning(String reason, Throwable cause)Constructs aSQLWarningobject with a givenreasonandcause.SQLWarning(Throwable cause)Constructs aSQLWarningobject with a givencause. -
Uses of Throwable in java.text
Subclasses of Throwable in java.text Modifier and Type Class Description classParseExceptionSignals that an error has been reached unexpectedly while parsing. -
Uses of Throwable in java.time
Subclasses of Throwable in java.time Modifier and Type Class Description classDateTimeExceptionException used to indicate a problem while calculating a date-time.Constructors in java.time with parameters of type Throwable Constructor Description DateTimeException(String message, Throwable cause)Constructs a new date-time exception with the specified message and cause. -
Uses of Throwable in java.time.format
Subclasses of Throwable in java.time.format Modifier and Type Class Description classDateTimeParseExceptionAn exception thrown when an error occurs during parsing.Constructors in java.time.format with parameters of type Throwable Constructor Description DateTimeParseException(String message, CharSequence parsedData, int errorIndex, Throwable cause)Constructs a new exception with the specified message and cause. -
Uses of Throwable in java.time.temporal
Subclasses of Throwable in java.time.temporal Modifier and Type Class Description classUnsupportedTemporalTypeExceptionUnsupportedTemporalTypeException indicates that a ChronoField or ChronoUnit is not supported for a Temporal class.Constructors in java.time.temporal with parameters of type Throwable Constructor Description UnsupportedTemporalTypeException(String message, Throwable cause)Constructs a new UnsupportedTemporalTypeException with the specified message and cause. -
Uses of Throwable in java.time.zone
Subclasses of Throwable in java.time.zone Modifier and Type Class Description classZoneRulesExceptionThrown to indicate a problem with time-zone configuration.Constructors in java.time.zone with parameters of type Throwable Constructor Description ZoneRulesException(String message, Throwable cause)Constructs a new date-time exception with the specified message and cause. -
Uses of Throwable in java.util
Subclasses of Throwable in java.util Modifier and Type Class Description classConcurrentModificationExceptionThis exception may be thrown by methods that have detected concurrent modification of an object when such modification is not permissible.classDuplicateFormatFlagsExceptionUnchecked exception thrown when duplicate flags are provided in the format specifier.classEmptyStackExceptionThrown by methods in theStackclass to indicate that the stack is empty.classFormatFlagsConversionMismatchExceptionUnchecked exception thrown when a conversion and flag are incompatible.classFormatterClosedExceptionUnchecked exception thrown when the formatter has been closed.classIllegalFormatCodePointExceptionUnchecked exception thrown when a character with an invalid Unicode code point as defined byCharacter.isValidCodePoint(int)is passed to theFormatter.classIllegalFormatConversionExceptionUnchecked exception thrown when the argument corresponding to the format specifier is of an incompatible type.classIllegalFormatExceptionUnchecked exception thrown when a format string contains an illegal syntax or a format specifier that is incompatible with the given arguments.classIllegalFormatFlagsExceptionUnchecked exception thrown when an illegal combination flags is given.classIllegalFormatPrecisionExceptionUnchecked 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.classIllegalFormatWidthExceptionUnchecked exception thrown when the format width is a negative value other than-1or is otherwise unsupported.classIllformedLocaleExceptionThrown by methods inLocaleandLocale.Builderto indicate that an argument is not a well-formed BCP 47 tag.classInputMismatchExceptionThrown by aScannerto 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.classInvalidPropertiesFormatExceptionThrown 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 thePropertiesspecification.classMissingFormatArgumentExceptionUnchecked 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.classMissingFormatWidthExceptionUnchecked exception thrown when the format width is required.classMissingResourceExceptionSignals that a resource is missing.classNoSuchElementExceptionThrown by various accessor methods to indicate that the element being requested does not exist.classServiceConfigurationErrorError thrown when something goes wrong while locating, loading, or instantiating a service provider.classTooManyListenersExceptionTheTooManyListenersExceptionException is used as part of the Java Event model to annotate and implement a unicast special case of a multicast Event Source.classUnknownFormatConversionExceptionUnchecked exception thrown when an unknown conversion is given.classUnknownFormatFlagsExceptionUnchecked exception thrown when an unknown flag is given.Methods in java.util with type parameters of type Throwable Modifier and Type Method Description <X extends Throwable>
TOptional. orElseThrow(Supplier<? extends X> exceptionSupplier)If a value is present, returns the value, otherwise throws an exception produced by the exception supplying function.<X extends Throwable>
doubleOptionalDouble. orElseThrow(Supplier<? extends X> exceptionSupplier)If a value is present, returns the value, otherwise throws an exception produced by the exception supplying function.<X extends Throwable>
intOptionalInt. orElseThrow(Supplier<? extends X> exceptionSupplier)If a value is present, returns the value, otherwise throws an exception produced by the exception supplying function.<X extends Throwable>
longOptionalLong. orElseThrow(Supplier<? extends X> exceptionSupplier)If a value is present, returns the value, otherwise throws an exception produced by the exception supplying function.Methods in java.util that throw Throwable Modifier and Type Method Description <X extends Throwable>
TOptional. orElseThrow(Supplier<? extends X> exceptionSupplier)If a value is present, returns the value, otherwise throws an exception produced by the exception supplying function.<X extends Throwable>
doubleOptionalDouble. orElseThrow(Supplier<? extends X> exceptionSupplier)If a value is present, returns the value, otherwise throws an exception produced by the exception supplying function.<X extends Throwable>
intOptionalInt. orElseThrow(Supplier<? extends X> exceptionSupplier)If a value is present, returns the value, otherwise throws an exception produced by the exception supplying function.<X extends Throwable>
longOptionalLong. orElseThrow(Supplier<? extends X> exceptionSupplier)If a value is present, returns the value, otherwise throws an exception produced by the exception supplying function.Constructors in java.util with parameters of type Throwable Constructor Description ConcurrentModificationException(String message, Throwable cause)Constructs a new exception with the specified detail message and cause.ConcurrentModificationException(Throwable cause)Constructs a new exception with the specified cause and a detail message of(cause==null ? null : cause.toString())(which typically contains the class and detail message ofcause.InvalidPropertiesFormatException(Throwable cause)Constructs an InvalidPropertiesFormatException with the specified cause.ServiceConfigurationError(String msg, Throwable cause)Constructs a new instance with the specified message and cause. -
Uses of Throwable in java.util.concurrent
Subclasses of Throwable in java.util.concurrent Modifier and Type Class Description classBrokenBarrierExceptionException 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.classCancellationExceptionException indicating that the result of a value-producing task, such as aFutureTask, cannot be retrieved because the task was cancelled.classCompletionExceptionException thrown when an error or other exception is encountered in the course of completing a result or task.classExecutionExceptionException thrown when attempting to retrieve the result of a task that aborted by throwing an exception.classRejectedExecutionExceptionException thrown by anExecutorwhen a task cannot be accepted for execution.classTimeoutExceptionException thrown when a blocking operation times out.Methods in java.util.concurrent that return Throwable Modifier and Type Method Description ThrowableSubmissionPublisher. getClosedException()Returns the exception associated withcloseExceptionally, or null if not closed or if closed normally.ThrowableForkJoinTask. getException()Returns the exception thrown by the base computation, or aCancellationExceptionif cancelled, ornullif none or if the method has not yet completed.Methods in java.util.concurrent with parameters of type Throwable Modifier and Type Method Description protected voidThreadPoolExecutor. afterExecute(Runnable r, Throwable t)Method invoked upon completion of execution of the given Runnable.voidSubmissionPublisher. closeExceptionally(Throwable error)Unless already closed, issuesonErrorsignals to current subscribers with the given error, and disallows subsequent attempts to publish.booleanCompletableFuture. completeExceptionally(Throwable ex)If not already completed, causes invocations ofCompletableFuture.get()and related methods to throw the given exception.voidForkJoinTask. completeExceptionally(Throwable ex)Completes this task abnormally, and if not already aborted or cancelled, causes it to throw the given exception uponjoinand related operations.static <U> CompletableFuture<U>CompletableFuture. failedFuture(Throwable ex)Returns a new CompletableFuture that is already completed exceptionally with the given exception.static <U> CompletionStage<U>CompletableFuture. failedStage(Throwable ex)Returns a new CompletionStage that is already completed exceptionally with the given exception and supports only those methods in interfaceCompletionStage.voidCompletableFuture. obtrudeException(Throwable ex)Forcibly causes subsequent invocations of methodCompletableFuture.get()and related methods to throw the given exception, whether or not already completed.voidFlow.Subscriber. onError(Throwable throwable)Method invoked upon an unrecoverable error encountered by a Publisher or Subscription, after which no other Subscriber methods are invoked by the Subscription.booleanCountedCompleter. onExceptionalCompletion(Throwable ex, CountedCompleter<?> caller)Performs an action when methodForkJoinTask.completeExceptionally(Throwable)is invoked or methodCountedCompleter.compute()throws an exception, and this task has not already otherwise completed normally.protected voidForkJoinWorkerThread. onTermination(Throwable exception)Performs cleanup associated with termination of this worker thread.protected voidFutureTask. setException(Throwable t)Causes this future to report anExecutionExceptionwith the given throwable as its cause, unless this future has already been set or has been cancelled.Method parameters in java.util.concurrent with type arguments of type Throwable Modifier and Type Method Description CompletableFuture<T>CompletableFuture. exceptionally(Function<Throwable,? extends T> fn)Returns a new CompletableFuture that is completed when this CompletableFuture completes, with the result of the given function of the exception triggering this CompletableFuture's completion when it completes exceptionally; otherwise, if this CompletableFuture completes normally, then the returned CompletableFuture also completes normally with the same value.CompletionStage<T>CompletionStage. exceptionally(Function<Throwable,? extends T> fn)Returns a new CompletionStage that, when this stage completes exceptionally, is executed with this stage's exception as the argument to the supplied function.<U> CompletionStage<U>CompletionStage. handle(BiFunction<? super T,Throwable,? extends U> fn)Returns a new CompletionStage that, when this stage completes either normally or exceptionally, is executed with this stage's result and exception as arguments to the supplied function.<U> CompletionStage<U>CompletionStage. handleAsync(BiFunction<? super T,Throwable,? extends U> fn)Returns a new CompletionStage that, when this stage completes either normally or exceptionally, is executed using this stage's default asynchronous execution facility, with this stage's result and exception as arguments to the supplied function.<U> CompletionStage<U>CompletionStage. handleAsync(BiFunction<? super T,Throwable,? extends U> fn, Executor executor)Returns a new CompletionStage that, when this stage completes either normally or exceptionally, is executed using the supplied executor, with this stage's result and exception as arguments to the supplied function.CompletionStage<T>CompletionStage. whenComplete(BiConsumer<? super T,? super Throwable> action)Returns a new CompletionStage with the same result or exception as this stage, that executes the given action when this stage completes.CompletionStage<T>CompletionStage. whenCompleteAsync(BiConsumer<? super T,? super Throwable> action)Returns a new CompletionStage with the same result or exception as this stage, that executes the given action using this stage's default asynchronous execution facility when this stage completes.CompletionStage<T>CompletionStage. whenCompleteAsync(BiConsumer<? super T,? super Throwable> action, Executor executor)Returns a new CompletionStage with the same result or exception as this stage, that executes the given action using the supplied Executor when this stage completes.Constructors in java.util.concurrent with parameters of type Throwable Constructor Description CompletionException(String message, Throwable cause)Constructs aCompletionExceptionwith the specified detail message and cause.CompletionException(Throwable cause)Constructs aCompletionExceptionwith the specified cause.ExecutionException(String message, Throwable cause)Constructs anExecutionExceptionwith the specified detail message and cause.ExecutionException(Throwable cause)Constructs anExecutionExceptionwith the specified cause.RejectedExecutionException(String message, Throwable cause)Constructs aRejectedExecutionExceptionwith the specified detail message and cause.RejectedExecutionException(Throwable cause)Constructs aRejectedExecutionExceptionwith the specified cause.Constructor parameters in java.util.concurrent with type arguments of type Throwable Constructor Description SubmissionPublisher(Executor executor, int maxBufferCapacity, BiConsumer<? super Flow.Subscriber<? super T>,? super Throwable> handler)Creates a new SubmissionPublisher using the given Executor for async delivery to subscribers, with the given maximum buffer size for each subscriber, and, if non-null, the given handler invoked when any Subscriber throws an exception in methodonNext. -
Uses of Throwable in java.util.jar
Subclasses of Throwable in java.util.jar Modifier and Type Class Description classJarExceptionSignals that an error of some sort has occurred while reading from or writing to a JAR file. -
Uses of Throwable in java.util.logging
Methods in java.util.logging that return Throwable Modifier and Type Method Description ThrowableLogRecord. getThrown()Get any throwable associated with the log record.Methods in java.util.logging with parameters of type Throwable Modifier and Type Method Description voidLogger. log(Level level, String msg, Throwable thrown)Log a message, with associated Throwable information.voidLogger. log(Level level, Throwable thrown, Supplier<String> msgSupplier)Log a lazily constructed message, with associated Throwable information.voidLogger. logp(Level level, String sourceClass, String sourceMethod, String msg, Throwable thrown)Log a message, specifying source class and method, with associated Throwable information.voidLogger. logp(Level level, String sourceClass, String sourceMethod, Throwable thrown, Supplier<String> msgSupplier)Log a lazily constructed message, specifying source class and method, with associated Throwable information.voidLogger. logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg, Throwable thrown)voidLogger. logrb(Level level, String sourceClass, String sourceMethod, ResourceBundle bundle, String msg, Throwable thrown)Log a message, specifying source class, method, and resource bundle, with associated Throwable information.voidLogger. logrb(Level level, ResourceBundle bundle, String msg, Throwable thrown)Log a message, specifying source class, method, and resource bundle, with associated Throwable information.voidLogRecord. setThrown(Throwable thrown)Set a throwable associated with the log event.voidLogger. throwing(String sourceClass, String sourceMethod, Throwable thrown)Log throwing an exception. -
Uses of Throwable in java.util.prefs
Subclasses of Throwable in java.util.prefs Modifier and Type Class Description classBackingStoreExceptionThrown 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.classInvalidPreferencesFormatExceptionThrown 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 thePreferencesspecification.Constructors in java.util.prefs with parameters of type Throwable Constructor Description BackingStoreException(Throwable cause)Constructs a BackingStoreException with the specified cause.InvalidPreferencesFormatException(String message, Throwable cause)Constructs an InvalidPreferencesFormatException with the specified detail message and cause.InvalidPreferencesFormatException(Throwable cause)Constructs an InvalidPreferencesFormatException with the specified cause. -
Uses of Throwable in java.util.regex
Subclasses of Throwable in java.util.regex Modifier and Type Class Description classPatternSyntaxExceptionUnchecked exception thrown to indicate a syntax error in a regular-expression pattern. -
Uses of Throwable in java.util.zip
Subclasses of Throwable in java.util.zip Modifier and Type Class Description classDataFormatExceptionSignals that a data format error has occurred.classZipErrorSignals that an unrecoverable error has occurred.classZipExceptionSignals that a Zip exception of some sort has occurred. -
Uses of Throwable in javax.annotation.processing
Subclasses of Throwable in javax.annotation.processing Modifier and Type Class Description classFilerExceptionIndicates aFilerdetected an attempt to open a file that would violate the guarantees provided by theFiler. -
Uses of Throwable in javax.crypto
Subclasses of Throwable in javax.crypto Modifier and Type Class Description classAEADBadTagExceptionThis exception is thrown when aCipheroperating in an AEAD mode (such as GCM/CCM) is unable to verify the supplied authentication tag.classBadPaddingExceptionThis exception is thrown when a particular padding mechanism is expected for the input data but the data is not padded properly.classExemptionMechanismExceptionThis is the generic ExemptionMechanism exception.classIllegalBlockSizeExceptionThis 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.classNoSuchPaddingExceptionThis exception is thrown when a particular padding mechanism is requested but is not available in the environment.classShortBufferExceptionThis exception is thrown when an output buffer provided by the user is too short to hold the operation result. -
Uses of Throwable in javax.imageio
Subclasses of Throwable in javax.imageio Modifier and Type Class Description classIIOExceptionAn exception class used for signaling run-time failure of reading and writing operations.Constructors in javax.imageio with parameters of type Throwable Constructor Description IIOException(String message, Throwable cause)Constructs anIIOExceptionwith a given messageStringand aThrowablethat was its underlying cause. -
Uses of Throwable in javax.imageio.metadata
Subclasses of Throwable in javax.imageio.metadata Modifier and Type Class Description classIIOInvalidTreeExceptionAnIIOInvalidTreeExceptionis thrown when an attempt by anIIOMetadataobject to parse a tree ofIIOMetadataNodes fails.Constructors in javax.imageio.metadata with parameters of type Throwable Constructor Description IIOInvalidTreeException(String message, Throwable cause, Node offendingNode)Constructs anIIOInvalidTreeExceptionwith a message string, a reference to an exception that caused this exception, and a reference to theNodethat caused the parsing error. -
Uses of Throwable in javax.imageio.spi
Methods in javax.imageio.spi that throw Throwable Modifier and Type Method Description voidServiceRegistry. finalize()Deprecated.Thefinalizemethod has been deprecated. -
Uses of Throwable in javax.imageio.stream
Methods in javax.imageio.stream that throw Throwable Modifier and Type Method Description protected voidFileCacheImageInputStream. finalize()Deprecated.Thefinalizemethod has been deprecated.protected voidFileImageInputStream. finalize()Deprecated.Thefinalizemethod has been deprecated.protected voidFileImageOutputStream. finalize()Deprecated.Thefinalizemethod has been deprecated.protected voidImageInputStreamImpl. finalize()Deprecated.Thefinalizemethod has been deprecated.protected voidMemoryCacheImageInputStream. finalize()Deprecated.Thefinalizemethod has been deprecated. -
Uses of Throwable in javax.lang.model
Subclasses of Throwable in javax.lang.model Modifier and Type Class Description classUnknownEntityExceptionSuperclass of exceptions which indicate that an unknown kind of entity was encountered. -
Uses of Throwable in javax.lang.model.element
Subclasses of Throwable in javax.lang.model.element Modifier and Type Class Description classUnknownAnnotationValueExceptionIndicates that an unknown kind of annotation value was encountered.classUnknownDirectiveExceptionIndicates that an unknown kind of module directive was encountered.classUnknownElementExceptionIndicates that an unknown kind of element was encountered. -
Uses of Throwable in javax.lang.model.type
Subclasses of Throwable in javax.lang.model.type Modifier and Type Class Description classMirroredTypeExceptionThrown when an application attempts to access theClassobject corresponding to aTypeMirror.classMirroredTypesExceptionThrown when an application attempts to access a sequence ofClassobjects each corresponding to aTypeMirror.classUnknownTypeExceptionIndicates that an unknown kind of type was encountered. -
Uses of Throwable in javax.management
Subclasses of Throwable in javax.management Modifier and Type Class Description classAttributeNotFoundExceptionThe specified attribute does not exist or cannot be retrieved.classBadAttributeValueExpExceptionThrown when an invalid MBean attribute is passed to a query constructing method.classBadBinaryOpValueExpExceptionThrown when an invalid expression is passed to a method for constructing a query.classBadStringOperationExceptionThrown when an invalid string operation is passed to a method for constructing a query.classInstanceAlreadyExistsExceptionThe MBean is already registered in the repository.classInstanceNotFoundExceptionThe specified MBean does not exist in the repository.classIntrospectionExceptionAn exception occurred during the introspection of an MBean.classInvalidApplicationExceptionThrown 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.classInvalidAttributeValueExceptionThe value specified is not valid for the attribute.classJMExceptionExceptions thrown by JMX implementations.classJMRuntimeExceptionRuntime exceptions emitted by JMX implementations.classListenerNotFoundExceptionThe specified MBean listener does not exist in the repository.classMalformedObjectNameExceptionThe format of the string does not correspond to a valid ObjectName.classMBeanExceptionRepresents "user defined" exceptions thrown by MBean methods in the agent.classMBeanRegistrationExceptionWraps exceptions thrown by the preRegister(), preDeregister() methods of theMBeanRegistrationinterface.classNotCompliantMBeanExceptionException which occurs when trying to register an object in the MBean server that is not a JMX compliant MBean.classOperationsExceptionRepresents exceptions thrown in the MBean server when performing operations on MBeans.classReflectionExceptionRepresents exceptions thrown in the MBean server when using the java.lang.reflect classes to invoke methods on MBeans.classRuntimeErrorExceptionWhen ajava.lang.Erroroccurs in the agent it should be caught and re-thrown as aRuntimeErrorException.classRuntimeMBeanExceptionRepresents runtime exceptions thrown by MBean methods in the agent.classRuntimeOperationsExceptionRepresents runtime exceptions thrown in the agent when performing operations on MBeans.classServiceNotFoundExceptionRepresents exceptions raised when a requested service is not supported.Methods in javax.management that return Throwable Modifier and Type Method Description ThrowableMBeanException. getCause()Return the actualExceptionthrown.ThrowableReflectionException. getCause()Returns the actualExceptionthrown.ThrowableRuntimeErrorException. getCause()Returns the actualErrorthrown.ThrowableRuntimeMBeanException. getCause()Returns the actualRuntimeExceptionthrown.ThrowableRuntimeOperationsException. getCause()Returns the actualRuntimeExceptionthrown. -
Uses of Throwable in javax.management.modelmbean
Subclasses of Throwable in javax.management.modelmbean Modifier and Type Class Description classInvalidTargetObjectTypeExceptionException thrown when an invalid target object type is specified.classXMLParseExceptionThis 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. -
Uses of Throwable in javax.management.monitor
Subclasses of Throwable in javax.management.monitor Modifier and Type Class Description classMonitorSettingExceptionException thrown by the monitor when a monitor setting becomes invalid while the monitor is running. -
Uses of Throwable in javax.management.openmbean
Subclasses of Throwable in javax.management.openmbean Modifier and Type Class Description classInvalidKeyExceptionThis 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.classInvalidOpenTypeExceptionThis runtime exception is thrown to indicate that the open type of an open data value is not the one expected.classKeyAlreadyExistsExceptionThis 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.classOpenDataExceptionThis 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 Throwable in javax.management.relation
Subclasses of Throwable in javax.management.relation Modifier and Type Class Description classInvalidRelationIdExceptionThis exception is raised when relation id provided for a relation is already used.classInvalidRelationServiceExceptionThis exception is raised when an invalid Relation Service is provided.classInvalidRelationTypeExceptionInvalid relation type.classInvalidRoleInfoExceptionThis exception is raised when, in a role info, its minimum degree is greater than its maximum degree.classInvalidRoleValueExceptionRole value is invalid.classRelationExceptionThis class is the superclass of any exception which can be raised during relation management.classRelationNotFoundExceptionThis exception is raised when there is no relation for a given relation id in a Relation Service.classRelationServiceNotRegisteredExceptionThis exception is raised when an access is done to the Relation Service and that one is not registered.classRelationTypeNotFoundExceptionThis exception is raised when there is no relation type with given name in Relation Service.classRoleInfoNotFoundExceptionThis exception is raised when there is no role info with given name in a given relation type.classRoleNotFoundExceptionThis exception is raised when a role in a relation does not exist, or is not readable, or is not settable. -
Uses of Throwable in javax.management.remote
Subclasses of Throwable in javax.management.remote Modifier and Type Class Description classJMXProviderExceptionException thrown byJMXConnectorFactoryandJMXConnectorServerFactorywhen a provider exists for the required protocol but cannot be used for some reason.classJMXServerErrorExceptionException thrown as the result of a remoteMBeanServermethod invocation when anErroris thrown while processing the invocation in the remote MBean server.Constructors in javax.management.remote with parameters of type Throwable Constructor Description JMXProviderException(String message, Throwable cause)Constructs aJMXProviderExceptionwith the specified detail message and nested exception. -
Uses of Throwable in javax.naming
Subclasses of Throwable in javax.naming Modifier and Type Class Description classAuthenticationExceptionThis exception is thrown when an authentication error occurs while accessing the naming or directory service.classAuthenticationNotSupportedExceptionThis exception is thrown when the particular flavor of authentication requested is not supported.classCannotProceedExceptionThis exception is thrown to indicate that the operation reached a point in the name where the operation cannot proceed any further.classCommunicationExceptionThis exception is thrown when the client is unable to communicate with the directory or naming service.classConfigurationExceptionThis exception is thrown when there is a configuration problem.classContextNotEmptyExceptionThis exception is thrown when attempting to destroy a context that is not empty.classInsufficientResourcesExceptionThis exception is thrown when resources are not available to complete the requested operation.classInterruptedNamingExceptionThis exception is thrown when the naming operation being invoked has been interrupted.classInvalidNameExceptionThis exception indicates that the name being specified does not conform to the naming syntax of a naming system.classLimitExceededExceptionThis exception is thrown when a method terminates abnormally due to a user or system specified limit.classLinkExceptionThis exception is used to describe problems encountered while resolving links.classLinkLoopExceptionThis 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.classMalformedLinkExceptionThis exception is thrown when a malformed link was encountered while resolving or constructing a link.classNameAlreadyBoundExceptionThis exception is thrown by methods to indicate that a binding cannot be added because the name is already bound to another object.classNameNotFoundExceptionThis exception is thrown when a component of the name cannot be resolved because it is not bound.classNamingExceptionThis is the superclass of all exceptions thrown by operations in the Context and DirContext interfaces.classNamingSecurityExceptionThis is the superclass of security-related exceptions thrown by operations in the Context and DirContext interfaces.classNoInitialContextExceptionThis exception is thrown when no initial context implementation can be created.classNoPermissionExceptionThis exception is thrown when attempting to perform an operation for which the client has no permission.classNotContextExceptionThis 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.classOperationNotSupportedExceptionThis exception is thrown when a context implementation does not support the operation being invoked.classPartialResultExceptionThis exception is thrown to indicate that the result being returned or returned so far is partial, and that the operation cannot be completed.classReferralExceptionThis 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.classServiceUnavailableExceptionThis exception is thrown when attempting to communicate with a directory or naming service and that service is not available.classSizeLimitExceededExceptionThis exception is thrown when a method produces a result that exceeds a size-related limit.classTimeLimitExceededExceptionThis exception is thrown when a method does not terminate within the specified time limit.Fields in javax.naming declared as Throwable Modifier and Type Field Description protected ThrowableNamingException. rootExceptionContains the original exception that caused this NamingException to be thrown.Methods in javax.naming that return Throwable Modifier and Type Method Description ThrowableNamingException. getCause()Returns the cause of this exception.ThrowableNamingException. getRootCause()Retrieves the root cause of this NamingException, if any.ThrowableNamingException. initCause(Throwable cause)Initializes the cause of this exception to the specified value.Methods in javax.naming with parameters of type Throwable Modifier and Type Method Description ThrowableNamingException. initCause(Throwable cause)Initializes the cause of this exception to the specified value.voidNamingException. setRootCause(Throwable e)Records the root cause of this NamingException. -
Uses of Throwable in javax.naming.directory
Subclasses of Throwable in javax.naming.directory Modifier and Type Class Description classAttributeInUseExceptionThis exception is thrown when an operation attempts to add an attribute that already exists.classAttributeModificationExceptionThis 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.classInvalidAttributeIdentifierExceptionThis exception is thrown when an attempt is made to add to create an attribute with an invalid attribute identifier.classInvalidAttributesExceptionThis exception is thrown when an attempt is made to add or modify an attribute set that has been specified incompletely or incorrectly.classInvalidAttributeValueExceptionThis class is thrown when an attempt is made to add to an attribute a value that conflicts with the attribute's schema definition.classInvalidSearchControlsExceptionThis exception is thrown when the specification of the SearchControls for a search operation is invalid.classInvalidSearchFilterExceptionThis exception is thrown when the specification of a search filter is invalid.classNoSuchAttributeExceptionThis exception is thrown when attempting to access an attribute that does not exist.classSchemaViolationExceptionThis exception is thrown when a method in some ways violates the schema. -
Uses of Throwable in javax.naming.ldap
Subclasses of Throwable in javax.naming.ldap Modifier and Type Class Description classLdapReferralExceptionThis abstract class is used to represent an LDAP referral exception. -
Uses of Throwable in javax.net.ssl
Subclasses of Throwable in javax.net.ssl Modifier and Type Class Description classSSLExceptionIndicates some kind of error detected by an SSL subsystem.classSSLHandshakeExceptionIndicates that the client and server could not negotiate the desired level of security.classSSLKeyExceptionReports a bad SSL key.classSSLPeerUnverifiedExceptionIndicates that the peer's identity has not been verified.classSSLProtocolExceptionReports an error in the operation of the SSL protocol.Constructors in javax.net.ssl with parameters of type Throwable Constructor Description SSLException(String message, Throwable cause)Creates aSSLExceptionwith the specified detail message and cause.SSLException(Throwable cause)Creates aSSLExceptionwith the specified cause and a detail message of(cause==null ? null : cause.toString())(which typically contains the class and detail message ofcause). -
Uses of Throwable in javax.print
Subclasses of Throwable in javax.print Modifier and Type Class Description classPrintExceptionClassPrintExceptionencapsulates a printing-related error condition that occurred while using a Print Service instance. -
Uses of Throwable in javax.print.attribute
Subclasses of Throwable in javax.print.attribute Modifier and Type Class Description classUnmodifiableSetExceptionThrown to indicate that the requested operation cannot be performed because the set is unmodifiable. -
Uses of Throwable in javax.script
Subclasses of Throwable in javax.script Modifier and Type Class Description classScriptExceptionThe genericExceptionclass for the Scripting APIs. -
Uses of Throwable in javax.security.auth
Subclasses of Throwable in javax.security.auth Modifier and Type Class Description classDestroyFailedExceptionSignals that adestroyoperation failed.classRefreshFailedExceptionSignals that arefreshoperation failed. -
Uses of Throwable in javax.security.auth.callback
Subclasses of Throwable in javax.security.auth.callback Modifier and Type Class Description classUnsupportedCallbackExceptionSignals that aCallbackHandlerdoes not recognize a particularCallback. -
Uses of Throwable in javax.security.auth.login
Subclasses of Throwable in javax.security.auth.login Modifier and Type Class Description classAccountExceptionA generic account exception.classAccountExpiredExceptionSignals that a user account has expired.classAccountLockedExceptionSignals that an account was locked.classAccountNotFoundExceptionSignals that an account was not found.classCredentialExceptionA generic credential exception.classCredentialExpiredExceptionSignals that aCredentialhas expired.classCredentialNotFoundExceptionSignals that a credential was not found.classFailedLoginExceptionSignals that user authentication failed.classLoginExceptionThis is the basic login exception. -
Uses of Throwable in javax.security.cert
Subclasses of Throwable in javax.security.cert Modifier and Type Class Description classCertificateEncodingExceptionDeprecated.Use the classes injava.security.certinstead.classCertificateExceptionDeprecated.Use the classes injava.security.certinstead.classCertificateExpiredExceptionDeprecated.Use the classes injava.security.certinstead.classCertificateNotYetValidExceptionDeprecated.Use the classes injava.security.certinstead.classCertificateParsingExceptionDeprecated.Use the classes injava.security.certinstead. -
Uses of Throwable in javax.security.sasl
Subclasses of Throwable in javax.security.sasl Modifier and Type Class Description classAuthenticationExceptionThis 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.classSaslExceptionThis class represents an error that has occurred when using SASL.Constructors in javax.security.sasl with parameters of type Throwable Constructor Description AuthenticationException(String detail, Throwable ex)Constructs a new instance ofAuthenticationExceptionwith a detailed message and a root exception.SaslException(String detail, Throwable ex)Constructs a new instance ofSaslExceptionwith a detailed message and a root exception. -
Uses of Throwable in javax.smartcardio
Subclasses of Throwable in javax.smartcardio Modifier and Type Class Description classCardExceptionException for errors that occur during communication with the Smart Card stack or the card itself.classCardNotPresentExceptionException thrown when an application tries to establish a connection with a terminal that has no card present.Constructors in javax.smartcardio with parameters of type Throwable Constructor Description CardException(String message, Throwable cause)Constructs a new CardException with the specified detail message and cause.CardException(Throwable cause)Constructs a new CardException with the specified cause and a detail message of(cause==null ? null : cause.toString()).CardNotPresentException(String message, Throwable cause)Constructs a new CardNotPresentException with the specified detail message and cause.CardNotPresentException(Throwable cause)Constructs a new CardNotPresentException with the specified cause and a detail message of(cause==null ? null : cause.toString()). -
Uses of Throwable in javax.sound.midi
Subclasses of Throwable in javax.sound.midi Modifier and Type Class Description classInvalidMidiDataExceptionAnInvalidMidiDataExceptionindicates that inappropriate MIDI data was encountered.classMidiUnavailableExceptionAMidiUnavailableExceptionis thrown when a requested MIDI component cannot be opened or created because it is unavailable. -
Uses of Throwable in javax.sound.sampled
Subclasses of Throwable in javax.sound.sampled Modifier and Type Class Description classLineUnavailableExceptionALineUnavailableExceptionis an exception indicating that a line cannot be opened because it is unavailable.classUnsupportedAudioFileExceptionAnUnsupportedAudioFileExceptionis an exception indicating that an operation failed because a file did not contain valid data of a recognized file type and format. -
Uses of Throwable in javax.sql.rowset
Subclasses of Throwable in javax.sql.rowset Modifier and Type Class Description classRowSetWarningAn extension ofSQLExceptionthat provides information about database warnings set onRowSetobjects. -
Uses of Throwable in javax.sql.rowset.serial
Subclasses of Throwable in javax.sql.rowset.serial Modifier and Type Class Description classSerialExceptionIndicates and an error with the serialization or de-serialization of SQL types such asBLOB, CLOB, STRUCT or ARRAYin addition to SQL types such asDATALINK and JAVAOBJECT -
Uses of Throwable in javax.sql.rowset.spi
Subclasses of Throwable in javax.sql.rowset.spi Modifier and Type Class Description classSyncFactoryExceptionIndicates an error withSyncFactorymechanism.classSyncProviderExceptionIndicates an error with theSyncProvidermechanism. -
Uses of Throwable in javax.swing
Subclasses of Throwable in javax.swing Modifier and Type Class Description classUnsupportedLookAndFeelExceptionAn exception that indicates the requested look & feel management classes are not present on the user's system. -
Uses of Throwable in javax.swing.text
Subclasses of Throwable in javax.swing.text Modifier and Type Class Description classBadLocationExceptionThis exception is to report bad locations within a document model (that is, attempts to reference a location that doesn't exist).classChangedCharSetExceptionChangedCharSetException as the name indicates is an exception thrown when the charset is changed. -
Uses of Throwable in javax.swing.tree
Subclasses of Throwable in javax.swing.tree Modifier and Type Class Description classExpandVetoExceptionException used to stop an expand/collapse from happening. -
Uses of Throwable in javax.swing.undo
Subclasses of Throwable in javax.swing.undo Modifier and Type Class Description classCannotRedoExceptionThrown when an UndoableEdit is told toredo()and can't.classCannotUndoExceptionThrown when an UndoableEdit is told toundo()and can't. -
Uses of Throwable in javax.transaction.xa
Subclasses of Throwable in javax.transaction.xa Modifier and Type Class Description classXAExceptionThe XAException is thrown by the Resource Manager (RM) to inform the Transaction Manager of an error encountered by the involved transaction. -
Uses of Throwable in javax.xml.catalog
Subclasses of Throwable in javax.xml.catalog Modifier and Type Class Description classCatalogExceptionThe exception class handles errors that may happen while processing or using a catalog.Constructors in javax.xml.catalog with parameters of type Throwable Constructor Description CatalogException(String message, Throwable cause)Constructs a new CatalogException with the specified detail message and cause. -
Uses of Throwable in javax.xml.crypto
Subclasses of Throwable in javax.xml.crypto Modifier and Type Class Description classKeySelectorExceptionIndicates an exceptional condition thrown by aKeySelector.classMarshalExceptionIndicates an exceptional condition that occurred during the XML marshalling or unmarshalling process.classNoSuchMechanismExceptionThis exception is thrown when a particular XML mechanism is requested but is not available in the environment.classURIReferenceExceptionIndicates an exceptional condition thrown while dereferencing aURIReference.Methods in javax.xml.crypto that return Throwable Modifier and Type Method Description ThrowableKeySelectorException. getCause()Returns the cause of thisKeySelectorExceptionornullif the cause is nonexistent or unknown.ThrowableMarshalException. getCause()Returns the cause of thisMarshalExceptionornullif the cause is nonexistent or unknown.ThrowableNoSuchMechanismException. getCause()Returns the cause of thisNoSuchMechanismExceptionornullif the cause is nonexistent or unknown.ThrowableURIReferenceException. getCause()Returns the cause of thisURIReferenceExceptionornullif the cause is nonexistent or unknown.Constructors in javax.xml.crypto with parameters of type Throwable Constructor Description KeySelectorException(String message, Throwable cause)Constructs a newKeySelectorExceptionwith the specified detail message and cause.KeySelectorException(Throwable cause)Constructs a newKeySelectorExceptionwith the specified cause and a detail message of(cause==null ? null : cause.toString())(which typically contains the class and detail message ofcause).MarshalException(String message, Throwable cause)Constructs a newMarshalExceptionwith the specified detail message and cause.MarshalException(Throwable cause)Constructs a newMarshalExceptionwith the specified cause and a detail message of(cause==null ? null : cause.toString())(which typically contains the class and detail message ofcause).NoSuchMechanismException(String message, Throwable cause)Constructs a newNoSuchMechanismExceptionwith the specified detail message and cause.NoSuchMechanismException(Throwable cause)Constructs a newNoSuchMechanismExceptionwith the specified cause and a detail message of(cause==null ? null : cause.toString())(which typically contains the class and detail message ofcause).URIReferenceException(String message, Throwable cause)Constructs a newURIReferenceExceptionwith the specified detail message and cause.URIReferenceException(String message, Throwable cause, URIReference uriReference)Constructs a newURIReferenceExceptionwith the specified detail message, cause andURIReference.URIReferenceException(Throwable cause)Constructs a newURIReferenceExceptionwith the specified cause and a detail message of(cause==null ? null : cause.toString())(which typically contains the class and detail message ofcause). -
Uses of Throwable in javax.xml.crypto.dsig
Subclasses of Throwable in javax.xml.crypto.dsig Modifier and Type Class Description classTransformExceptionIndicates an exceptional condition that occurred while executing a transform algorithm.classXMLSignatureExceptionIndicates an exceptional condition that occurred during the XML signature generation or validation process.Methods in javax.xml.crypto.dsig that return Throwable Modifier and Type Method Description ThrowableTransformException. getCause()Returns the cause of thisTransformExceptionornullif the cause is nonexistent or unknown.ThrowableXMLSignatureException. getCause()Returns the cause of thisXMLSignatureExceptionornullif the cause is nonexistent or unknown.Constructors in javax.xml.crypto.dsig with parameters of type Throwable Constructor Description TransformException(String message, Throwable cause)Constructs a newTransformExceptionwith the specified detail message and cause.TransformException(Throwable cause)Constructs a newTransformExceptionwith the specified cause and a detail message of(cause==null ? null : cause.toString())(which typically contains the class and detail message ofcause).XMLSignatureException(String message, Throwable cause)Constructs a newXMLSignatureExceptionwith the specified detail message and cause.XMLSignatureException(Throwable cause)Constructs a newXMLSignatureExceptionwith the specified cause and a detail message of(cause==null ? null : cause.toString())(which typically contains the class and detail message ofcause). -
Uses of Throwable in javax.xml.datatype
Subclasses of Throwable in javax.xml.datatype Modifier and Type Class Description classDatatypeConfigurationExceptionIndicates a serious configuration error.Constructors in javax.xml.datatype with parameters of type Throwable Constructor Description DatatypeConfigurationException(String message, Throwable cause)Create a newDatatypeConfigurationExceptionwith the specified detail message and cause.DatatypeConfigurationException(Throwable cause)Create a newDatatypeConfigurationExceptionwith the specified cause. -
Uses of Throwable in javax.xml.parsers
Subclasses of Throwable in javax.xml.parsers Modifier and Type Class Description classFactoryConfigurationErrorThrown when a problem with configuration with the Parser Factories exists.classParserConfigurationExceptionIndicates a serious configuration error.Methods in javax.xml.parsers that return Throwable Modifier and Type Method Description ThrowableFactoryConfigurationError. getCause()use the exception chaining mechanism of JDK1.4 -
Uses of Throwable in javax.xml.stream
Subclasses of Throwable in javax.xml.stream Modifier and Type Class Description classFactoryConfigurationErrorAn error class for reporting factory configuration errors.classXMLStreamExceptionThe base exception for unexpected processing errors.Fields in javax.xml.stream declared as Throwable Modifier and Type Field Description protected ThrowableXMLStreamException. nestedMethods in javax.xml.stream that return Throwable Modifier and Type Method Description ThrowableFactoryConfigurationError. getCause()use the exception chaining mechanism of JDK1.4ThrowableXMLStreamException. getNestedException()Gets the nested exception.Constructors in javax.xml.stream with parameters of type Throwable Constructor Description XMLStreamException(String msg, Throwable th)Construct an exception with the assocated message and exceptionXMLStreamException(String msg, Location location, Throwable th)Construct an exception with the assocated message, exception and location.XMLStreamException(Throwable th)Construct an exception with the assocated exception -
Uses of Throwable in javax.xml.transform
Subclasses of Throwable in javax.xml.transform Modifier and Type Class Description classTransformerConfigurationExceptionIndicates a serious configuration error.classTransformerExceptionThis class specifies an exceptional condition that occurred during the transformation process.classTransformerFactoryConfigurationErrorThrown when a problem with configuration with the Transformer Factories exists.Methods in javax.xml.transform that return Throwable Modifier and Type Method Description ThrowableTransformerException. getCause()Returns the cause of this throwable ornullif the cause is nonexistent or unknown.ThrowableTransformerFactoryConfigurationError. getCause()use the exception chaining mechanism of JDK1.4ThrowableTransformerException. getException()This method retrieves an exception that this exception wraps.ThrowableTransformerException. initCause(Throwable cause)Initializes the cause of this throwable to the specified value.Methods in javax.xml.transform with parameters of type Throwable Modifier and Type Method Description ThrowableTransformerException. initCause(Throwable cause)Initializes the cause of this throwable to the specified value.Constructors in javax.xml.transform with parameters of type Throwable Constructor Description TransformerConfigurationException(String msg, Throwable e)Create a newTransformerConfigurationExceptionwith the givenExceptionbase cause and detail message.TransformerConfigurationException(String message, SourceLocator locator, Throwable e)Wrap an existing exception in a TransformerConfigurationException.TransformerConfigurationException(Throwable e)Create a newTransformerConfigurationExceptionwith a givenExceptionbase cause of the error.TransformerException(String message, Throwable e)Wrap an existing exception in a TransformerException.TransformerException(String message, SourceLocator locator, Throwable e)Wrap an existing exception in a TransformerException.TransformerException(Throwable e)Create a new TransformerException wrapping an existing exception. -
Uses of Throwable in javax.xml.validation
Subclasses of Throwable in javax.xml.validation Modifier and Type Class Description classSchemaFactoryConfigurationErrorThrown when a problem with configuration with the Schema Factories exists.Constructors in javax.xml.validation with parameters of type Throwable Constructor Description SchemaFactoryConfigurationError(String message, Throwable cause)Create a newSchemaFactoryConfigurationErrorwith the givenThrowablebase cause and detail message.SchemaFactoryConfigurationError(Throwable cause)Create a newSchemaFactoryConfigurationErrorwith the givenThrowablebase cause. -
Uses of Throwable in javax.xml.xpath
Subclasses of Throwable in javax.xml.xpath Modifier and Type Class Description classXPathExceptionXPathExceptionrepresents a generic XPath exception.classXPathExpressionExceptionXPathExpressionExceptionrepresents an error in an XPath expression.classXPathFactoryConfigurationExceptionXPathFactoryConfigurationExceptionrepresents a configuration error in aXPathFactoryenvironment.classXPathFunctionExceptionXPathFunctionExceptionrepresents an error with an XPath function.Methods in javax.xml.xpath that return Throwable Modifier and Type Method Description ThrowableXPathException. getCause()Get the cause of this XPathException.Constructors in javax.xml.xpath with parameters of type Throwable Constructor Description XPathException(Throwable cause)Constructs a newXPathExceptionwith the specifiedcause.XPathExpressionException(Throwable cause)Constructs a newXPathExpressionExceptionwith the specifiedcause.XPathFactoryConfigurationException(Throwable cause)Constructs a newXPathFactoryConfigurationExceptionwith the specifiedcause.XPathFunctionException(Throwable cause)Constructs a newXPathFunctionExceptionwith the specifiedcause. -
Uses of Throwable in jdk.dynalink
Subclasses of Throwable in jdk.dynalink Modifier and Type Class Description classNoSuchDynamicMethodExceptionThrown at the invocation if the call site can not be linked by any availableGuardingDynamicLinker. -
Uses of Throwable in jdk.dynalink.linker
Methods in jdk.dynalink.linker that return types with arguments of type Throwable Modifier and Type Method Description Class<? extends Throwable>GuardedInvocation. getException()Returns the exception type that if thrown by the invocation should invalidate the linkage of this guarded invocation.Constructor parameters in jdk.dynalink.linker with type arguments of type Throwable Constructor Description GuardedInvocation(MethodHandle invocation, MethodHandle guard, SwitchPoint[] switchPoints, Class<? extends Throwable> exception)Creates a new guarded invocation, with a guard method handle, any number of switch points that can be used to invalidate it, and an exception that if thrown when invoked also invalidates it.GuardedInvocation(MethodHandle invocation, MethodHandle guard, SwitchPoint switchPoint, Class<? extends Throwable> exception)Creates a new guarded invocation, with a guard method handle, a switch point that can be used to invalidate it, and an exception that if thrown when invoked also invalidates it. -
Uses of Throwable in jdk.jshell
Subclasses of Throwable in jdk.jshell Modifier and Type Class Description classEvalExceptionWraps an throwable thrown in the executing client.classJShellExceptionThe superclass of JShell generated exceptionsclassUnresolvedReferenceExceptionException reported on attempting to execute aRECOVERABLE_DEFINEDsnippet. -
Uses of Throwable in jdk.jshell.execution
Methods in jdk.jshell.execution with parameters of type Throwable Modifier and Type Method Description protected StringDirectExecutionControl. throwConvertedInvocationException(Throwable cause)Converts incoming exceptions in user code into instances of subtypes ofExecutionControl.ExecutionControlExceptionand throws the converted exception.protected StringDirectExecutionControl. throwConvertedOtherException(Throwable ex)Converts incoming exceptions in agent code into instances of subtypes ofExecutionControl.ExecutionControlExceptionand throws the converted exception.Methods in jdk.jshell.execution that throw Throwable Modifier and Type Method Description ExecutionControlFailOverExecutionControlProvider. generate(ExecutionEnv env, Map<String,String> parameters)Create and return a locally executingExecutionControlinstance. -
Uses of Throwable in jdk.jshell.spi
Subclasses of Throwable in jdk.jshell.spi Modifier and Type Class Description static classExecutionControl.ClassInstallExceptionA class install (load or redefine) encountered a problem.static classExecutionControl.EngineTerminationExceptionUnbidden execution engine termination has occurred.static classExecutionControl.ExecutionControlExceptionThe abstract base of allExecutionControlexceptions.static classExecutionControl.InternalExceptionAn internal problem has occurred.static classExecutionControl.NotImplementedExceptionThe command is not implemented.static classExecutionControl.ResolutionExceptionAn exception indicating that aDeclarationSnippetwith unresolved references has been encountered.static classExecutionControl.RunExceptionThe abstract base of of exceptions specific to running user code.static classExecutionControl.StoppedExceptionAn 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 classExecutionControl.UserExceptionA 'normal' user exception occurred.classSPIResolutionExceptionThe construction and throw of this exception is embedded in code generated by the JShell core implementation in such a way that, upon executing aRECOVERABLE_DEFINEDuser method, this exception is thrown.Methods in jdk.jshell.spi that throw Throwable Modifier and Type Method Description static ExecutionControlExecutionControl. generate(ExecutionEnv env, String spec)Search for a provider, then create and return theExecutionControlinstance.static ExecutionControlExecutionControl. generate(ExecutionEnv env, String name, Map<String,String> parameters)Search for a provider, then create and return theExecutionControlinstance.ExecutionControlExecutionControlProvider. generate(ExecutionEnv env, Map<String,String> parameters)Create and return theExecutionControlinstance. -
Uses of Throwable in jdk.nashorn.api.scripting
Subclasses of Throwable in jdk.nashorn.api.scripting Modifier and Type Class Description classNashornExceptionDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.Methods in jdk.nashorn.api.scripting with parameters of type Throwable Modifier and Type Method Description static StackTraceElement[]NashornException. getScriptFrames(Throwable exception)Deprecated, for removal: This API element is subject to removal in a future version.Returns array javascript stack frames from the given exception object.static StringNashornException. getScriptStackString(Throwable exception)Deprecated, for removal: This API element is subject to removal in a future version.Return a formatted script stack trace string with frames information separated by '\n'Constructors in jdk.nashorn.api.scripting with parameters of type Throwable Constructor Description NashornException(String msg, Throwable cause)Deprecated, for removal: This API element is subject to removal in a future version.Constructor to initialize error message and cause exception.NashornException(String msg, Throwable cause, String fileName, int line, int column)Deprecated, for removal: This API element is subject to removal in a future version.Constructor to initialize error message, cause exception, file name, line and column numbers. -
Uses of Throwable in jdk.nashorn.api.tree
Subclasses of Throwable in jdk.nashorn.api.tree Modifier and Type Class Description classUnknownTreeExceptionDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release. -
Uses of Throwable in jdk.security.jarsigner
Subclasses of Throwable in jdk.security.jarsigner Modifier and Type Class Description classJarSignerExceptionThis exception is thrown whenJarSigner.sign(java.util.zip.ZipFile, java.io.OutputStream)fails.Constructors in jdk.security.jarsigner with parameters of type Throwable Constructor Description JarSignerException(String message, Throwable cause)Constructs a newJarSignerExceptionwith the specified detail message and cause. -
Uses of Throwable in netscape.javascript
Subclasses of Throwable in netscape.javascript Modifier and Type Class Description classJSExceptionThrown when an exception is raised in the JavaScript engine.Constructors in netscape.javascript with parameters of type Throwable Constructor Description JSException(Throwable t)Construct a new JavaScript exception with the specified cause. -
Uses of Throwable in org.ietf.jgss
Subclasses of Throwable in org.ietf.jgss Modifier and Type Class Description classGSSExceptionThis exception is thrown whenever a GSS-API error occurs, including any mechanism specific error. -
Uses of Throwable in org.w3c.dom
Subclasses of Throwable in org.w3c.dom Modifier and Type Class Description classDOMExceptionDOM 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 Throwable in org.w3c.dom.events
Subclasses of Throwable in org.w3c.dom.events Modifier and Type Class Description classEventExceptionEvent operations may throw anEventExceptionas specified in their method descriptions. -
Uses of Throwable in org.w3c.dom.ls
Subclasses of Throwable in org.w3c.dom.ls Modifier and Type Class Description classLSExceptionParser or write operations may throw anLSExceptionif the processing is stopped. -
Uses of Throwable in org.w3c.dom.ranges
Subclasses of Throwable in org.w3c.dom.ranges Modifier and Type Class Description classRangeExceptionRange operations may throw aRangeExceptionas specified in their method descriptions. -
Uses of Throwable in org.w3c.dom.xpath
Subclasses of Throwable in org.w3c.dom.xpath Modifier and Type Class Description classXPathExceptionA new exception has been created for exceptions specific to these XPath interfaces. -
Uses of Throwable in org.xml.sax
Subclasses of Throwable in org.xml.sax Modifier and Type Class Description classSAXExceptionEncapsulate a general SAX error or warning.classSAXNotRecognizedExceptionException class for an unrecognized identifier.classSAXNotSupportedExceptionException class for an unsupported operation.classSAXParseExceptionEncapsulate an XML parse error or warning.Methods in org.xml.sax that return Throwable Modifier and Type Method Description ThrowableSAXException. getCause()Return the cause of the exception
-