GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Index
  • Help
  • Frames
  • No Frames
  • All Classes

This view

  • Original page
  • New address

GeezerVison is showing docs.oracle.com (truncated) — Uses of Class java.lang.Throwable (Java Platform SE 8 )

Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help
Java™ Platform
Standard Ed. 8
  • Prev
  • Next
  • Frames
  • No Frames
  • All Classes

Uses of Class
java.lang.Throwable

  • Packages that use Throwable 
    Package Description
    java.awt
    Contains all of the classes for creating user interfaces and for painting graphics and images.
    java.awt.color
    Provides classes for color spaces.
    java.awt.datatransfer
    Provides interfaces and classes for transferring data between and within applications.
    java.awt.dnd
    Drag and Drop is a direct manipulation gesture found in many Graphical User Interface systems that provides a mechanism to transfer information between two entities logically associated with presentation elements in the GUI.
    java.awt.event
    Provides interfaces and classes for dealing with different types of events fired by AWT components.
    java.awt.geom
    Provides the Java 2D classes for defining and performing operations on objects related to two-dimensional geometry.
    java.awt.image
    Provides classes for creating and modifying images.
    java.awt.print
    Provides classes and interfaces for a general printing API.
    java.beans
    Contains classes related to developing beans -- components based on the JavaBeans™ architecture.
    java.io
    Provides for system input and output through data streams, serialization and the file system.
    java.lang
    Provides classes that are fundamental to the design of the Java programming language.
    java.lang.annotation
    Provides library support for the Java programming language annotation facility.
    java.lang.instrument
    Provides services that allow Java programming language agents to instrument programs running on the JVM.
    java.lang.invoke
    The java.lang.invoke package contains dynamic language support provided directly by the Java core class libraries and virtual machine.
    java.lang.reflect
    Provides classes and interfaces for obtaining reflective information about classes and objects.
    java.net
    Provides the classes for implementing networking applications.
    java.nio
    Defines buffers, which are containers for data, and provides an overview of the other NIO packages.
    java.nio.channels
    Defines channels, which represent connections to entities that are capable of performing I/O operations, such as files and sockets; defines selectors, for multiplexed, non-blocking I/O operations.
    java.nio.charset
    Defines charsets, decoders, and encoders, for translating between bytes and Unicode characters.
    java.nio.file
    Defines interfaces and classes for the Java virtual machine to access files, file attributes, and file systems.
    java.nio.file.attribute
    Interfaces and classes providing access to file and file system attributes.
    java.rmi
    Provides the RMI package.
    java.rmi.activation
    Provides support for RMI Object Activation.
    java.rmi.server
    Provides classes and interfaces for supporting the server side of RMI.
    java.security
    Provides the classes and interfaces for the security framework.
    java.security.acl
    The classes and interfaces in this package have been superseded by classes in the java.security package.
    java.security.cert
    Provides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths.
    java.security.spec
    Provides classes and interfaces for key specifications and algorithm parameter specifications.
    java.sql
    Provides the API for accessing and processing data stored in a data source (usually a relational database) using the JavaTM programming language.
    java.text
    Provides classes and interfaces for handling text, dates, numbers, and messages in a manner independent of natural languages.
    java.time
    The main API for dates, times, instants, and durations.
    java.time.format
    Provides classes to print and parse dates and times.
    java.time.temporal
    Access to date and time using fields and units, and date time adjusters.
    java.time.zone
    Support for time-zones and their rules.
    java.util
    Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array).
    java.util.concurrent
    Utility classes commonly useful in concurrent programming.
    java.util.jar
    Provides classes for reading and writing the JAR (Java ARchive) file format, which is based on the standard ZIP file format with an optional manifest file.
    java.util.logging
    Provides the classes and interfaces of the JavaTM 2 platform's core logging facilities.
    java.util.prefs
    This package allows applications to store and retrieve user and system preference and configuration data.
    java.util.regex
    Classes for matching character sequences against patterns specified by regular expressions.
    java.util.zip
    Provides classes for reading and writing the standard ZIP and GZIP file formats.
    javax.activation  
    javax.activity
    Contains Activity service related exceptions thrown by the ORB machinery during unmarshalling.
    javax.annotation.processing
    Facilities for declaring annotation processors and for allowing annotation processors to communicate with an annotation processing tool environment.
    javax.crypto
    Provides the classes and interfaces for cryptographic operations.
    javax.imageio
    The main package of the Java Image I/O API.
    javax.imageio.metadata
    A package of the Java Image I/O API dealing with reading and writing metadata.
    javax.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 the javax.naming package to provide functionality for accessing directory services.
    javax.naming.ldap
    Provides support for LDAPv3 extended operations and controls.
    javax.net.ssl
    Provides classes for the secure socket package.
    javax.print
    Provides the principal classes and interfaces for the JavaTM Print Service API.
    javax.print.attribute
    Provides classes and interfaces that describe the types of JavaTM Print Service attributes and how they can be collected into attribute sets.
    javax.rmi.CORBA
    Contains portability APIs for RMI-IIOP.
    javax.script
    The scripting API consists of interfaces and classes that define Java TM Scripting Engines and provides a framework for their use in Java applications.
    javax.security.auth
    This package provides a framework for authentication and authorization.
    javax.security.auth.callback
    This package provides the classes necessary for services to interact with applications in order to retrieve information (authentication data including usernames or passwords, for example) or to display information (error and warning messages, for example).
    javax.security.auth.login
    This package provides a pluggable authentication framework.
    javax.security.cert
    Provides classes for public key certificates.
    javax.security.sasl
    Contains class and interfaces for supporting SASL.
    javax.sound.midi
    Provides interfaces and classes for I/O, sequencing, and synthesis of MIDI (Musical Instrument Digital Interface) data.
    javax.sound.sampled
    Provides interfaces and classes for capture, processing, and playback of sampled audio data.
    javax.sql.rowset
    Standard interfaces and base classes for JDBC RowSet implementations.
    javax.sql.rowset.serial
    Provides utility classes to allow serializable mappings between SQL types and data types in the Java programming language.
    javax.sql.rowset.spi
    The standard classes and interfaces that a third party vendor has to use in its implementation of a synchronization provider.
    javax.swing
    Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
    javax.swing.text
    Provides classes and interfaces that deal with editable and noneditable text components.
    javax.swing.tree
    Provides classes and interfaces for dealing with javax.swing.JTree.
    javax.swing.undo
    Allows developers to provide support for undo/redo in applications such as text editors.
    javax.transaction
    Contains three exceptions thrown by the ORB machinery during unmarshalling.
    javax.transaction.xa
    Provides the API that defines the contract between the transaction manager and the resource manager, which allows the transaction manager to enlist and delist resource objects (supplied by the resource manager driver) in JTA transactions.
    javax.xml.bind
    Provides a runtime binding framework for client applications including unmarshalling, marshalling, and validation capabilities.
    javax.xml.bind.helpers
    JAXB Provider Use Only: Provides partial default implementations for some of the javax.xml.bind interfaces.
    javax.xml.crypto
    Common classes for XML cryptography.
    javax.xml.crypto.dsig
    Classes for generating and validating XML digital signatures.
    javax.xml.datatype
    XML/Java Type Mappings.
    javax.xml.parsers
    Provides classes allowing the processing of XML documents.
    javax.xml.soap
    Provides the API for creating and building SOAP messages.
    javax.xml.stream  
    javax.xml.transform
    This package defines the generic APIs for processing transformation instructions, and performing a transformation from source to result.
    javax.xml.validation
    This package provides an API for validation of XML documents.
    javax.xml.ws
    This package contains the core JAX-WS APIs.
    javax.xml.ws.http
    This package defines APIs specific to the HTTP binding.
    javax.xml.ws.soap
    This package defines APIs specific to the SOAP binding.
    javax.xml.xpath
    This package provides an object-model neutral API for the evaluation of XPath expressions and access to the evaluation environment.
    org.ietf.jgss
    This package presents a framework that allows application developers to make use of security services like authentication, data integrity and data confidentiality from a variety of underlying security mechanisms like Kerberos, using a unified API.
    org.omg.CORBA
    Provides the mapping of the OMG CORBA APIs to the JavaTM programming language, including the class ORB, which is implemented so that a programmer can use it as a fully-functional Object Request Broker (ORB).
    org.omg.CORBA.DynAnyPackage
    Provides the exceptions used with the DynAny interface (InvalidValue, Invalid, InvalidSeq, and TypeMismatch).
    org.omg.CORBA.ORBPackage
    Provides the exception InvalidName, which is thrown by the method ORB.resolve_initial_references and the exception InconsistentTypeCode, which is thrown by the Dynamic Any creation methods in the ORB class.
    org.omg.CORBA.portable
    Provides a portability layer, that is, a set of ORB APIs that makes it possible for code generated by one vendor to run on another vendor's ORB.
    org.omg.CORBA.TypeCodePackage
    Provides the user-defined exceptions BadKind and Bounds, which are thrown by methods in in the class TypeCode.
    org.omg.CosNaming.NamingContextExtPackage
    This package contains the following classes, which are used in org.omg.CosNaming.NamingContextExt:
    org.omg.CosNaming.NamingContextPackage
    This package contains Exception classes for the org.omg.CosNaming package.
    org.omg.IOP.CodecFactoryPackage
    This package contains the exceptions specified in the IOP::CodeFactory interface (as part of the Portable Interceptors spec).
    org.omg.IOP.CodecPackage
    This package is generated from the IOP::Codec IDL interface definition.
    org.omg.PortableInterceptor
    Provides a mechanism to register ORB hooks through which ORB services can intercept the normal flow of execution of the ORB.
    org.omg.PortableInterceptor.ORBInitInfoPackage
    This package contains the exceptions and typedefs from the ORBInitInfo local interface of the PortableInterceptor module specified in the OMG Portable Interceptor specification, http://cgi.omg.org/cgi-bin/doc?ptc/2000-08-06, section 21.7.2.
    org.omg.PortableServer
    Provides classes and interfaces for making the server side of your applications portable across multivendor ORBs.
    org.omg.PortableServer.CurrentPackage
    Provides method implementations with access to the identity of the object on which the method was invoked.
    org.omg.PortableServer.POAManagerPackage
    Encapsulates the processing state of the POAs it is associated with.
    org.omg.PortableServer.POAPackage
    Allows programmers to construct object implementations that are portable between different ORB products.
    org.w3c.dom
    Provides the interfaces for the Document Object Model (DOM).
    org.w3c.dom.events  
    org.w3c.dom.ls  
    org.xml.sax
    This package provides the core SAX APIs.
    • Uses of Throwable in java.awt

      Subclasses of Throwable in java.awt 
      Modifier and Type Class Description
      class  AWTError
      Thrown when a serious Abstract Window Toolkit error has occurred.
      class  AWTException
      Signals that an Abstract Window Toolkit exception has occurred.
      class  FontFormatException
      Thrown by method createFont in the Font class to indicate that the specified font is bad.
      class  HeadlessException
      Thrown when code that is dependent on a keyboard, display, or mouse is called in an environment that does not support a keyboard, display, or mouse.
      class  IllegalComponentStateException
      Signals that an AWT component is not in an appropriate state for the requested operation.
    • Uses of Throwable in java.awt.color

      Subclasses of Throwable in java.awt.color 
      Modifier and Type Class Description
      class  CMMException
      This exception is thrown if the native CMM returns an error.
      class  ProfileDataException
      This exception is thrown when an error occurs in accessing or processing an ICC_Profile object.
    • Uses of Throwable in java.awt.datatransfer

      Subclasses of Throwable in java.awt.datatransfer 
      Modifier and Type Class Description
      class  MimeTypeParseException
      A class to encapsulate MimeType parsing related exceptions
      class  UnsupportedFlavorException
      Signals that the requested data is not supported in this flavor.
    • Uses of Throwable in java.awt.dnd

      Subclasses of Throwable in java.awt.dnd 
      Modifier and Type Class Description
      class  InvalidDnDOperationException
      This exception is thrown by various methods in the java.awt.dnd package.
    • Uses of Throwable in java.awt.event

      Methods in java.awt.event that return Throwable 
      Modifier and Type Method Description
      Throwable InvocationEvent.getThrowable()
      Returns any Throwable caught while executing the Runnable's run() method.
    • Uses of Throwable in java.awt.geom

      Subclasses of Throwable in java.awt.geom 
      Modifier and Type Class Description
      class  IllegalPathStateException
      The IllegalPathStateException represents an exception that is thrown if an operation is performed on a path that is in an illegal state with respect to the particular operation being performed, such as appending a path segment to a GeneralPath without an initial moveto.
      class  NoninvertibleTransformException
      The NoninvertibleTransformException class represents an exception that is thrown if an operation is performed requiring the inverse of an AffineTransform object but the AffineTransform is in a non-invertible state.
    • Uses of Throwable in java.awt.image

      Subclasses of Throwable in java.awt.image 
      Modifier and Type Class Description
      class  ImagingOpException
      The ImagingOpException is thrown if one of the BufferedImageOp or RasterOp filter methods cannot process the image.
      class  RasterFormatException
      The RasterFormatException is thrown if there is invalid layout information in the Raster.
    • Uses of Throwable in java.awt.print

      Subclasses of Throwable in java.awt.print 
      Modifier and Type Class Description
      class  PrinterAbortException
      The PrinterAbortException class is a subclass of PrinterException and is used to indicate that a user or application has terminated the print job while it was in the process of printing.
      class  PrinterException
      The PrinterException class and its subclasses are used to indicate that an exceptional condition has occurred in the print system.
      class  PrinterIOException
      The PrinterIOException class is a subclass of PrinterException and is used to indicate that an IO error of some sort has occurred while printing.
      Methods in java.awt.print that return Throwable 
      Modifier and Type Method Description
      Throwable PrinterIOException.getCause()
      Returns the the cause of this exception (the IOException that terminated the print job).
    • Uses of Throwable in java.beans

      Subclasses of Throwable in java.beans 
      Modifier and Type Class Description
      class  IntrospectionException
      Thrown when an exception happens during Introspection.
      class  PropertyVetoException
      A PropertyVetoException is thrown when a proposed change to a property represents an unacceptable value.
    • Uses of Throwable in java.io

      Subclasses of Throwable in java.io 
      Modifier and Type Class Description
      class  CharConversionException
      Base class for character conversion exceptions.
      class  EOFException
      Signals that an end of file or end of stream has been reached unexpectedly during input.
      class  FileNotFoundException
      Signals that an attempt to open the file denoted by a specified pathname has failed.
      class  InterruptedIOException
      Signals that an I/O operation has been interrupted.
      class  InvalidClassException
      Thrown when the Serialization runtime detects one of the following problems with a Class.
      class  InvalidObjectException
      Indicates that one or more deserialized objects failed validation tests.
      class  IOError
      Thrown when a serious I/O error has occurred.
      class  IOException
      Signals that an I/O exception of some sort has occurred.
      class  NotActiveException
      Thrown when serialization or deserialization is not active.
      class  NotSerializableException
      Thrown when an instance is required to have a Serializable interface.
      class  ObjectStreamException
      Superclass of all exceptions specific to Object Stream classes.
      class  OptionalDataException
      Exception indicating the failure of an object read operation due to unread primitive data, or the end of data belonging to a serialized object in the stream.
      class  StreamCorruptedException
      Thrown when control information that was read from an object stream violates internal consistency checks.
      class  SyncFailedException
      Signals that a sync operation has failed.
      class  UncheckedIOException
      Wraps an IOException with an unchecked exception.
      class  UnsupportedEncodingException
      The Character Encoding is not supported.
      class  UTFDataFormatException
      Signals that a malformed string in modified UTF-8 format has been read in a data input stream or by any class that implements the data input interface.
      class  WriteAbortedException
      Signals that one of the ObjectStreamExceptions was thrown during a write operation.
      Methods in java.io that return Throwable 
      Modifier and Type Method Description
      Throwable WriteAbortedException.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 an IOException with the specified detail message and cause.
      IOException(Throwable cause)
      Constructs an IOException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
    • Uses of Throwable in java.lang

      Subclasses of Throwable in java.lang 
      Modifier and Type Class Description
      class  AbstractMethodError
      Thrown when an application tries to call an abstract method.
      class  ArithmeticException
      Thrown when an exceptional arithmetic condition has occurred.
      class  ArrayIndexOutOfBoundsException
      Thrown to indicate that an array has been accessed with an illegal index.
      class  ArrayStoreException
      Thrown to indicate that an attempt has been made to store the wrong type of object into an array of objects.
      class  AssertionError
      Thrown to indicate that an assertion has failed.
      class  BootstrapMethodError
      Thrown to indicate that an invokedynamic instruction has failed to find its bootstrap method, or the bootstrap method has failed to provide a call site with a target of the correct method type.
      class  ClassCastException
      Thrown to indicate that the code has attempted to cast an object to a subclass of which it is not an instance.
      class  ClassCircularityError
      Thrown when the Java Virtual Machine detects a circularity in the superclass hierarchy of a class being loaded.
      class  ClassFormatError
      Thrown when the Java Virtual Machine attempts to read a class file and determines that the file is malformed or otherwise cannot be interpreted as a class file.
      class  ClassNotFoundException
      Thrown when an application tries to load in a class through its string name using: The forName method in class Class.
      class  CloneNotSupportedException
      Thrown to indicate that the clone method in class Object has been called to clone an object, but that the object's class does not implement the Cloneable interface.
      class  EnumConstantNotPresentException
      Thrown when an application tries to access an enum constant by name and the enum type contains no constant with the specified name.
      class  Error
      An Error is a subclass of Throwable that indicates serious problems that a reasonable application should not try to catch.
      class  Exception
      The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch.
      class  ExceptionInInitializerError
      Signals that an unexpected exception has occurred in a static initializer.
      class  IllegalAccessError
      Thrown if an application attempts to access or modify a field, or to call a method that it does not have access to.
      class  IllegalAccessException
      An IllegalAccessException is thrown when an application tries to reflectively create an instance (other than an array), set or get a field, or invoke a method, but the currently executing method does not have access to the definition of the specified class, field, method or constructor.
      class  IllegalArgumentException
      Thrown to indicate that a method has been passed an illegal or inappropriate argument.
      class  IllegalMonitorStateException
      Thrown to indicate that a thread has attempted to wait on an object's monitor or to notify other threads waiting on an object's monitor without owning the specified monitor.
      class  IllegalStateException
      Signals that a method has been invoked at an illegal or inappropriate time.
      class  IllegalThreadStateException
      Thrown to indicate that a thread is not in an appropriate state for the requested operation.
      class  IncompatibleClassChangeError
      Thrown when an incompatible class change has occurred to some class definition.
      class  IndexOutOfBoundsException
      Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range.
      class  InstantiationError
      Thrown when an application tries to use the Java new construct to instantiate an abstract class or an interface.
      class  InstantiationException
      Thrown when an application tries to create an instance of a class using the newInstance method in class Class, but the specified class object cannot be instantiated.
      class  InternalError
      Thrown to indicate some unexpected internal error has occurred in the Java Virtual Machine.
      class  InterruptedException
      Thrown when a thread is waiting, sleeping, or otherwise occupied, and the thread is interrupted, either before or during the activity.
      class  LinkageError
      Subclasses of LinkageError indicate that a class has some dependency on another class; however, the latter class has incompatibly changed after the compilation of the former class.
      class  NegativeArraySizeException
      Thrown if an application tries to create an array with negative size.
      class  NoClassDefFoundError
      Thrown if the Java Virtual Machine or a ClassLoader instance tries to load in the definition of a class (as part of a normal method call or as part of creating a new instance using the new expression) and no definition of the class could be found.
      class  NoSuchFieldError
      Thrown if an application tries to access or modify a specified field of an object, and that object no longer has that field.
      class  NoSuchFieldException
      Signals that the class doesn't have a field of a specified name.
      class  NoSuchMethodError
      Thrown if an application tries to call a specified method of a class (either static or instance), and that class no longer has a definition of that method.
      class  NoSuchMethodException
      Thrown when a particular method cannot be found.
      class  NullPointerException
      Thrown when an application attempts to use null in a case where an object is required.
      class  NumberFormatException
      Thrown to indicate that the application has attempted to convert a string to one of the numeric types, but that the string does not have the appropriate format.
      class  OutOfMemoryError
      Thrown when the Java Virtual Machine cannot allocate an object because it is out of memory, and no more memory could be made available by the garbage collector.
      class  ReflectiveOperationException
      Common superclass of exceptions thrown by reflective operations in core reflection.
      class  RuntimeException
      RuntimeException is the superclass of those exceptions that can be thrown during the normal operation of the Java Virtual Machine.
      class  SecurityException
      Thrown by the security manager to indicate a security violation.
      class  StackOverflowError
      Thrown when a stack overflow occurs because an application recurses too deeply.
      class  StringIndexOutOfBoundsException
      Thrown by String methods to indicate that an index is either negative or greater than the size of the string.
      class  ThreadDeath
      An instance of ThreadDeath is thrown in the victim thread when the (deprecated) Thread.stop() method is invoked.
      class  TypeNotPresentException
      Thrown when an application tries to access a type using a string representing the type's name, but no definition for the type with the specified name can be found.
      class  UnknownError
      Thrown when an unknown but serious exception has occurred in the Java Virtual Machine.
      class  UnsatisfiedLinkError
      Thrown if the Java Virtual Machine cannot find an appropriate native-language definition of a method declared native.
      class  UnsupportedClassVersionError
      Thrown when the Java Virtual Machine attempts to read a class file and determines that the major and minor version numbers in the file are not supported.
      class  UnsupportedOperationException
      Thrown to indicate that the requested operation is not supported.
      class  VerifyError
      Thrown when the "verifier" detects that a class file, though well formed, contains some sort of internal inconsistency or security problem.
      class  VirtualMachineError
      Thrown to indicate that the Java Virtual Machine is broken or has run out of resources necessary for it to continue operating.
      Methods in java.lang that return Throwable 
      Modifier and Type Method Description
      Throwable Throwable.fillInStackTrace()
      Fills in the execution stack trace.
      Throwable ExceptionInInitializerError.getCause()
      Returns the cause of this error (the exception that occurred during a static initialization that caused this error to be created).
      Throwable ClassNotFoundException.getCause()
      Returns the cause of this exception (the exception that was raised if an error occurred while attempting to load the class; otherwise null).
      Throwable Throwable.getCause()
      Returns the cause of this throwable or null if the cause is nonexistent or unknown.
      Throwable ExceptionInInitializerError.getException()
      Returns the exception that occurred during a static initialization that caused this error to be created.
      Throwable ClassNotFoundException.getException()
      Returns the exception that was raised if an error occurred while attempting to load the class.
      Throwable[] Throwable.getSuppressed()
      Returns an array containing all of the exceptions that were suppressed, typically by the try-with-resources statement, in order to deliver this exception.
      Throwable Throwable.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
      void Throwable.addSuppressed(Throwable exception)
      Appends the specified exception to the exceptions that were suppressed in order to deliver this exception.
      Throwable Throwable.initCause(Throwable cause)
      Initializes the cause of this throwable to the specified value.
      void Thread.stop(Throwable obj)
      Deprecated. 
      This method was originally designed to force a thread to stop and throw a given Throwable as an exception. It was inherently unsafe (see Thread.stop() for details), and furthermore could be used to generate exceptions that the target thread was not prepared to handle. For more information, see Why are Thread.stop, Thread.suspend and Thread.resume Deprecated?.
      void ThreadGroup.uncaughtException(Thread t, Throwable e)
      Called by the Java Virtual Machine when a thread in this thread group stops because of an uncaught exception, and the thread does not have a specific Thread.UncaughtExceptionHandler installed.
      void Thread.UncaughtExceptionHandler.uncaughtException(Thread t, Throwable e)
      Method invoked when the given thread terminates due to the given uncaught exception.
      Methods in java.lang that throw Throwable 
      Modifier and Type Method Description
      protected void Object.finalize()
      Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
      Constructors in java.lang with parameters of type Throwable 
      Constructor Description
      AssertionError(String message, Throwable cause)
      Constructs a new AssertionError with the specified detail message and cause.
      BootstrapMethodError(String s, Throwable cause)
      Constructs a BootstrapMethodError with the specified detail message and cause.
      BootstrapMethodError(Throwable cause)
      Constructs a BootstrapMethodError with the specified cause.
      ClassNotFoundException(String s, Throwable ex)
      Constructs a ClassNotFoundException with the specified detail message and optional exception that was raised while loading the class.
      Error(String message, Throwable cause)
      Constructs a new error with the specified detail message and cause.
      Error(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 of cause).
      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 of cause).
      ExceptionInInitializerError(Throwable thrown)
      Constructs a new ExceptionInInitializerError class by saving a reference to the Throwable object thrown for later retrieval by the ExceptionInInitializerError.getException() method.
      IllegalArgumentException(String message, Throwable cause)
      Constructs a new exception with the specified detail message and cause.
      IllegalArgumentException(Throwable cause)
      Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
      IllegalStateException(String message, Throwable cause)
      Constructs a new exception with the specified detail message and cause.
      IllegalStateException(Throwable cause)
      Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
      InternalError(String message, Throwable cause)
      Constructs an InternalError with the specified detail message and cause.
      InternalError(Throwable cause)
      Constructs an InternalError with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
      LinkageError(String s, Throwable cause)
      Constructs a LinkageError with 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 of cause).
      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 of cause).
      SecurityException(String message, Throwable cause)
      Creates a SecurityException with the specified detail message and cause.
      SecurityException(Throwable cause)
      Creates a SecurityException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
      Throwable(String message, Throwable cause)
      Constructs a new throwable with the specified detail message and cause.
      Throwable(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 of cause).
      TypeNotPresentException(String typeName, Throwable cause)
      Constructs a TypeNotPresentException for the named type with the specified cause.
      UnsupportedOperationException(String message, Throwable cause)
      Constructs a new exception with the specified detail message and cause.
      UnsupportedOperationException(Throwable cause)
      Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
      VirtualMachineError(String message, Throwable cause)
      Constructs a VirtualMachineError with the specified detail message and cause.
      VirtualMachineError(Throwable cause)
      Constructs an a VirtualMachineError with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
    • Uses of Throwable in java.lang.annotation

      Subclasses of Throwable in java.lang.annotation 
      Modifier and Type Class Description
      class  AnnotationFormatError
      Thrown when the annotation parser attempts to read an annotation from a class file and determines that the annotation is malformed.
      class  AnnotationTypeMismatchException
      Thrown to indicate that a program has attempted to access an element of an annotation whose type has changed after the annotation was compiled (or serialized).
      class  IncompleteAnnotationException
      Thrown to indicate that a program has attempted to access an element of an annotation type that was added to the annotation type definition after the annotation was compiled (or serialized).
      Constructors in java.lang.annotation with parameters of type Throwable 
      Constructor Description
      AnnotationFormatError(String message, Throwable cause)
      Constructs a new AnnotationFormatError with the specified detail message and cause.
      AnnotationFormatError(Throwable cause)
      Constructs a new AnnotationFormatError with the specified cause and a detail message of (cause == null ? null : cause.toString()) (which typically contains the class and detail message of cause).
    • Uses of Throwable in java.lang.instrument

      Subclasses of Throwable in java.lang.instrument 
      Modifier and Type Class Description
      class  IllegalClassFormatException
      Thrown by an implementation of ClassFileTransformer.transform when its input parameters are invalid.
      class  UnmodifiableClassException
      Thrown by an implementation of Instrumentation.redefineClasses when one of the specified classes cannot be modified.
    • Uses of Throwable in java.lang.invoke

      Subclasses of Throwable in java.lang.invoke 
      Modifier and Type Class Description
      class  LambdaConversionException
      LambdaConversionException
      class  WrongMethodTypeException
      Thrown to indicate that code has attempted to call a method handle via the wrong method type.
      Method parameters in java.lang.invoke with type arguments of type Throwable 
      Modifier and Type Method Description
      static MethodHandle MethodHandles.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.
      static MethodHandle MethodHandles.throwException(Class<?> returnType, Class<? extends Throwable> exType)
      Produces a method handle which will throw exceptions of the given exType.
      Methods in java.lang.invoke that throw Throwable 
      Modifier and Type Method Description
      Object MethodHandle.invoke(Object... args)
      Invokes the method handle, allowing any caller type descriptor, and optionally performing conversions on arguments and return values.
      Object MethodHandle.invokeExact(Object... args)
      Invokes the method handle, allowing any caller type descriptor, but requiring an exact type match.
      Object MethodHandle.invokeWithArguments(List<?> arguments)
      Performs a variable arity invocation, passing the arguments in the given array to the method handle, as if via an inexact invoke from a call site which mentions only the type Object, and whose arity is the length of the argument array.
      Object MethodHandle.invokeWithArguments(Object... arguments)
      Performs a variable arity invocation, passing the arguments in the given list to the method handle, as if via an inexact invoke from a call site which mentions only the type Object, and whose arity 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 a LambdaConversionException with a message and cause.
      LambdaConversionException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
      Constructs a LambdaConversionException with a message, cause, and other settings.
      LambdaConversionException(Throwable cause)
      Constructs a LambdaConversionException with a cause.
      Constructors 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.reflect

      Subclasses of Throwable in java.lang.reflect 
      Modifier and Type Class Description
      class  GenericSignatureFormatError
      Thrown when a syntactically malformed signature attribute is encountered by a reflective method that needs to interpret the generic signature information for a type, method or constructor.
      class  InvocationTargetException
      InvocationTargetException is a checked exception that wraps an exception thrown by an invoked method or constructor.
      class  MalformedParameterizedTypeException
      Thrown when a semantically malformed parameterized type is encountered by a reflective method that needs to instantiate it.
      class  MalformedParametersException
      Thrown when the java.lang.reflect package attempts to read method parameters from a class file and determines that one or more parameters are malformed.
      class  UndeclaredThrowableException
      Thrown by a method invocation on a proxy instance if its invocation handler's invoke method throws a checked exception (a Throwable that is not assignable to RuntimeException or Error) that is not assignable to any of the exception types declared in the throws clause of the method that was invoked on the proxy instance and dispatched to the invocation handler.
      Methods in java.lang.reflect that return Throwable 
      Modifier and Type Method Description
      Throwable UndeclaredThrowableException.getCause()
      Returns the cause of this exception (the Throwable instance wrapped in this UndeclaredThrowableException, which may be null).
      Throwable InvocationTargetException.getCause()
      Returns the cause of this exception (the thrown target exception, which may be null).
      Throwable InvocationTargetException.getTargetException()
      Get the thrown target exception.
      Throwable UndeclaredThrowableException.getUndeclaredThrowable()
      Returns the Throwable instance wrapped in this UndeclaredThrowableException, which may be null.
      Methods in java.lang.reflect that throw Throwable 
      Modifier and Type Method Description
      Object InvocationHandler.invoke(Object proxy, Method method, Object[] args)
      Processes a method invocation on a proxy instance and returns the result.
      Constructors in java.lang.reflect with parameters of type Throwable 
      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 an UndeclaredThrowableException with the specified Throwable.
      UndeclaredThrowableException(Throwable undeclaredThrowable, String s)
      Constructs an UndeclaredThrowableException with the specified Throwable and a detail message.
    • Uses of Throwable in java.net

      Subclasses of Throwable in java.net 
      Modifier and Type Class Description
      class  BindException
      Signals that an error occurred while attempting to bind a socket to a local address and port.
      class  HttpRetryException
      Thrown to indicate that a HTTP request needs to be retried but cannot be retried automatically, due to streaming mode being enabled.
      class  MalformedURLException
      Thrown to indicate that a malformed URL has occurred.
      class  NoRouteToHostException
      Signals that an error occurred while attempting to connect a socket to a remote address and port.
      class  PortUnreachableException
      Signals that an ICMP Port Unreachable message has been received on a connected datagram.
      class  ProtocolException
      Thrown to indicate that there is an error in the underlying protocol, such as a TCP error.
      class  SocketException
      Thrown to indicate that there is an error creating or accessing a Socket.
      class  SocketTimeoutException
      Signals that a timeout has occurred on a socket read or accept.
      class  UnknownHostException
      Thrown to indicate that the IP address of a host could not be determined.
      class  UnknownServiceException
      Thrown to indicate that an unknown service exception has occurred.
      class  URISyntaxException
      Checked exception thrown to indicate that a string could not be parsed as a URI reference.
    • Uses of Throwable in java.nio

      Subclasses of Throwable in java.nio 
      Modifier and Type Class Description
      class  BufferOverflowException
      Unchecked exception thrown when a relative put operation reaches the target buffer's limit.
      class  BufferUnderflowException
      Unchecked exception thrown when a relative get operation reaches the source buffer's limit.
      class  InvalidMarkException
      Unchecked exception thrown when an attempt is made to reset a buffer when its mark is not defined.
      class  ReadOnlyBufferException
      Unchecked exception thrown when a content-mutation method such as put or compact is invoked upon a read-only buffer.
    • Uses of Throwable in java.nio.channels

      Subclasses of Throwable in java.nio.channels 
      Modifier and Type Class Description
      class  AcceptPendingException
      Unchecked exception thrown when an attempt is made to initiate an accept operation on a channel and a previous accept operation has not completed.
      class  AlreadyConnectedException
      Unchecked exception thrown when an attempt is made to connect a SocketChannel that is already connected.
      class  AsynchronousCloseException
      Checked exception received by a thread when another thread closes the channel or the part of the channel upon which it is blocked in an I/O operation.
      class  CancelledKeyException
      Unchecked exception thrown when an attempt is made to use a selection key that is no longer valid.
      class  ClosedByInterruptException
      Checked exception received by a thread when another thread interrupts it while it is blocked in an I/O operation upon a channel.
      class  ClosedChannelException
      Checked exception thrown when an attempt is made to invoke or complete an I/O operation upon channel that is closed, or at least closed to that operation.
      class  ClosedSelectorException
      Unchecked exception thrown when an attempt is made to invoke an I/O operation upon a closed selector.
      class  ConnectionPendingException
      Unchecked exception thrown when an attempt is made to connect a SocketChannel for which a non-blocking connection operation is already in progress.
      class  FileLockInterruptionException
      Checked exception received by a thread when another thread interrupts it while it is waiting to acquire a file lock.
      class  IllegalBlockingModeException
      Unchecked exception thrown when a blocking-mode-specific operation is invoked upon a channel in the incorrect blocking mode.
      class  IllegalChannelGroupException
      Unchecked exception thrown when an attempt is made to open a channel in a group that was not created by the same provider.
      class  IllegalSelectorException
      Unchecked exception thrown when an attempt is made to register a channel with a selector that was not created by the provider that created the channel.
      class  InterruptedByTimeoutException
      Checked exception received by a thread when a timeout elapses before an asynchronous operation completes.
      class  NoConnectionPendingException
      Unchecked exception thrown when the finishConnect method of a SocketChannel is invoked without first successfully invoking its connect method.
      class  NonReadableChannelException
      Unchecked exception thrown when an attempt is made to read from a channel that was not originally opened for reading.
      class  NonWritableChannelException
      Unchecked exception thrown when an attempt is made to write to a channel that was not originally opened for writing.
      class  NotYetBoundException
      Unchecked exception thrown when an attempt is made to invoke an I/O operation upon a server socket channel that is not yet bound.
      class  NotYetConnectedException
      Unchecked exception thrown when an attempt is made to invoke an I/O operation upon a socket channel that is not yet connected.
      class  OverlappingFileLockException
      Unchecked exception thrown when an attempt is made to acquire a lock on a region of a file that overlaps a region already locked by the same Java virtual machine, or when another thread is already waiting to lock an overlapping region of the same file.
      class  ReadPendingException
      Unchecked exception thrown when an attempt is made to read from an asynchronous socket channel and a previous read has not completed.
      class  ShutdownChannelGroupException
      Unchecked exception thrown when an attempt is made to construct a channel in a group that is shutdown or the completion handler for an I/O operation cannot be invoked because the channel group has terminated.
      class  UnresolvedAddressException
      Unchecked exception thrown when an attempt is made to invoke a network operation upon an unresolved socket address.
      class  UnsupportedAddressTypeException
      Unchecked exception thrown when an attempt is made to bind or connect to a socket address of a type that is not supported.
      class  WritePendingException
      Unchecked exception thrown when an attempt is made to write to an asynchronous socket channel and a previous write has not completed.
      Methods in java.nio.channels with parameters of type Throwable 
      Modifier and Type Method Description
      void CompletionHandler.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
      class  CharacterCodingException
      Checked exception thrown when a character encoding or decoding error occurs.
      class  CoderMalfunctionError
      Error thrown when the decodeLoop method of a CharsetDecoder, or the encodeLoop method of a CharsetEncoder, throws an unexpected exception.
      class  IllegalCharsetNameException
      Unchecked exception thrown when a string that is not a legal charset name is used as such.
      class  MalformedInputException
      Checked exception thrown when an input byte sequence is not legal for given charset, or an input character sequence is not a legal sixteen-bit Unicode sequence.
      class  UnmappableCharacterException
      Checked exception thrown when an input character (or byte) sequence is valid but cannot be mapped to an output byte (or character) sequence.
      class  UnsupportedCharsetException
      Unchecked 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
      class  AccessDeniedException
      Checked exception thrown when a file system operation is denied, typically due to a file permission or other access check.
      class  AtomicMoveNotSupportedException
      Checked exception thrown when a file cannot be moved as an atomic file system operation.
      class  ClosedDirectoryStreamException
      Unchecked exception thrown when an attempt is made to invoke an operation on a directory stream that is closed.
      class  ClosedFileSystemException
      Unchecked exception thrown when an attempt is made to invoke an operation on a file and the file system is closed.
      class  ClosedWatchServiceException
      Unchecked exception thrown when an attempt is made to invoke an operation on a watch service that is closed.
      class  DirectoryIteratorException
      Runtime exception thrown if an I/O error is encountered when iterating over the entries in a directory.
      class  DirectoryNotEmptyException
      Checked exception thrown when a file system operation fails because a directory is not empty.
      class  FileAlreadyExistsException
      Checked exception thrown when an attempt is made to create a file or directory and a file of that name already exists.
      class  FileSystemAlreadyExistsException
      Runtime exception thrown when an attempt is made to create a file system that already exists.
      class  FileSystemException
      Thrown when a file system operation fails on one or two files.
      class  FileSystemLoopException
      Checked exception thrown when a file system loop, or cycle, is encountered.
      class  FileSystemNotFoundException
      Runtime exception thrown when a file system cannot be found.
      class  InvalidPathException
      Unchecked exception thrown when path string cannot be converted into a Path because the path string contains invalid characters, or the path string is invalid for other file system specific reasons.
      class  NoSuchFileException
      Checked exception thrown when an attempt is made to access a file that does not exist.
      class  NotDirectoryException
      Checked exception thrown when a file system operation, intended for a directory, fails because the file is not a directory.
      class  NotLinkException
      Checked exception thrown when a file system operation fails because a file is not a symbolic link.
      class  ProviderMismatchException
      Unchecked exception thrown when an attempt is made to invoke a method on an object created by one file system provider with a parameter created by a different file system provider.
      class  ProviderNotFoundException
      Runtime exception thrown when a provider of the required type cannot be found.
      class  ReadOnlyFileSystemException
      Unchecked exception thrown when an attempt is made to update an object associated with a read-only FileSystem.
    • Uses of Throwable in java.nio.file.attribute

      Subclasses of Throwable in java.nio.file.attribute 
      Modifier and Type Class Description
      class  UserPrincipalNotFoundException
      Checked exception thrown when a lookup of UserPrincipal fails because the principal does not exist.
    • Uses of Throwable in java.rmi

      Subclasses of Throwable in java.rmi 
      Modifier and Type Class Description
      class  AccessException
      An AccessException is thrown by certain methods of the java.rmi.Naming class (specifically bind, rebind, and unbind) and methods of the java.rmi.activation.ActivationSystem interface to indicate that the caller does not have permission to perform the action requested by the method call.
      class  AlreadyBoundException
      An AlreadyBoundException is thrown if an attempt is made to bind an object in the registry to a name that already has an associated binding.
      class  ConnectException
      A ConnectException is thrown if a connection is refused to the remote host for a remote method call.
      class  ConnectIOException
      A ConnectIOException is thrown if an IOException occurs while making a connection to the remote host for a remote method call.
      class  NoSuchObjectException
      A NoSuchObjectException is thrown if an attempt is made to invoke a method on an object that no longer exists in the remote virtual machine.
      class  NotBoundException
      A NotBoundException is thrown if an attempt is made to lookup or unbind in the registry a name that has no associated binding.
      class  RemoteException
      A RemoteException is the common superclass for a number of communication-related exceptions that may occur during the execution of a remote method call.
      class  RMISecurityException
      Deprecated. 
      Use SecurityException instead. Application code should never directly reference this class, and RMISecurityManager no longer throws this subclass of java.lang.SecurityException.
      class  ServerError
      A ServerError is thrown as a result of a remote method invocation when an Error is thrown while processing the invocation on the server, either while unmarshalling the arguments, executing the remote method itself, or marshalling the return value.
      class  ServerException
      A ServerException is thrown as a result of a remote method invocation when a RemoteException is thrown while processing the invocation on the server, either while unmarshalling the arguments or executing the remote method itself.
      class  ServerRuntimeException
      Deprecated. 
      no replacement
      class  StubNotFoundException
      A StubNotFoundException is thrown if a valid stub class could not be found for a remote object when it is exported.
      class  UnexpectedException
      An UnexpectedException is thrown if the client of a remote method call receives, as a result of the call, a checked exception that is not among the checked exception types declared in the throws clause of the method in the remote interface.
      class  UnmarshalException
      An UnmarshalException can be thrown while unmarshalling the parameters or results of a remote method call if any of the following conditions occur: if an exception occurs while unmarshalling the call header if the protocol for the return value is invalid if a java.io.IOException occurs 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
      Throwable RemoteException.detail
      The cause of the remote exception.
      Methods in java.rmi that return Throwable 
      Modifier and Type Method Description
      Throwable RemoteException.getCause()
      Returns the cause of this exception.
      Constructors in java.rmi with parameters of type Throwable 
      Constructor Description
      RemoteException(String s, Throwable cause)
      Constructs a RemoteException with 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
      class  ActivateFailedException
      This exception is thrown by the RMI runtime when activation fails during a remote call to an activatable object.
      class  ActivationException
      General exception used by the activation interfaces.
      class  UnknownGroupException
      An UnknownGroupException is thrown by methods of classes and interfaces in the java.rmi.activation package when the ActivationGroupID parameter to the method is determined to be invalid, i.e., not known by the ActivationSystem.
      class  UnknownObjectException
      An UnknownObjectException is thrown by methods of classes and interfaces in the java.rmi.activation package when the ActivationID parameter to the method is determined to be invalid.
      Fields in java.rmi.activation declared as Throwable 
      Modifier and Type Field Description
      Throwable ActivationException.detail
      The cause of the activation exception.
      Methods in java.rmi.activation that return Throwable 
      Modifier and Type Method Description
      Throwable ActivationException.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 an ActivationException with 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
      class  ExportException
      An ExportException is a RemoteException thrown if an attempt to export a remote object fails.
      class  ServerCloneException
      A ServerCloneException is thrown if a remote exception occurs during the cloning of a UnicastRemoteObject.
      class  ServerNotActiveException
      An ServerNotActiveException is an Exception thrown during a call to RemoteServer.getClientHost if the getClientHost method is called outside of servicing a remote method call.
      class  SkeletonMismatchException
      Deprecated. 
      no replacement. Skeletons are no longer required for remote method calls in the Java 2 platform v1.2 and greater.
      class  SkeletonNotFoundException
      Deprecated. 
      no replacement. Skeletons are no longer required for remote method calls in the Java 2 platform v1.2 and greater.
      class  SocketSecurityException
      Deprecated. 
      This class is obsolete. Use ExportException instead.
      Methods in java.rmi.server that return Throwable 
      Modifier and Type Method Description
      Throwable ServerCloneException.getCause()
      Returns the cause of this exception.
      Methods in java.rmi.server that throw Throwable 
      Modifier and Type Method Description
      Object RemoteObjectInvocationHandler.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
      class  AccessControlException
      This 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.
      class  DigestException
      This is the generic Message Digest exception.
      class  GeneralSecurityException
      The GeneralSecurityException class is a generic security exception class that provides type safety for all the security-related exception classes that extend from it.
      class  InvalidAlgorithmParameterException
      This is the exception for invalid or inappropriate algorithm parameters.
      class  InvalidKeyException
      This is the exception for invalid Keys (invalid encoding, wrong length, uninitialized, etc).
      class  InvalidParameterException
      This exception, designed for use by the JCA/JCE engine classes, is thrown when an invalid parameter is passed to a method.
      class  KeyException
      This is the basic key exception.
      class  KeyManagementException
      This is the general key management exception for all operations dealing with key management.
      class  KeyStoreException
      This is the generic KeyStore exception.
      class  NoSuchAlgorithmException
      This exception is thrown when a particular cryptographic algorithm is requested but is not available in the environment.
      class  NoSuchProviderException
      This exception is thrown when a particular security provider is requested but is not available in the environment.
      class  PrivilegedActionException
      This exception is thrown by doPrivileged(PrivilegedExceptionAction) and doPrivileged(PrivilegedExceptionAction, AccessControlContext context) to indicate that the action being performed threw a checked exception.
      class  ProviderException
      A runtime exception for Provider exceptions (such as misconfiguration errors or unrecoverable internal errors), which may be subclassed by Providers to throw specialized, provider-specific runtime errors.
      class  SignatureException
      This is the generic Signature exception.
      class  UnrecoverableEntryException
      This exception is thrown if an entry in the keystore cannot be recovered.
      class  UnrecoverableKeyException
      This exception is thrown if a key in the keystore cannot be recovered.
      Methods in java.security that return Throwable 
      Modifier and Type Method Description
      Throwable PrivilegedActionException.getCause()
      Returns the cause of this exception (the exception thrown by the privileged computation that resulted in this PrivilegedActionException).
      Constructors in java.security with parameters of type Throwable 
      Constructor Description
      DigestException(String message, Throwable cause)
      Creates a DigestException with the specified detail message and cause.
      DigestException(Throwable cause)
      Creates a DigestException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
      GeneralSecurityException(String message, Throwable cause)
      Creates a GeneralSecurityException with the specified detail message and cause.
      GeneralSecurityException(Throwable cause)
      Creates a GeneralSecurityException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
      InvalidAlgorithmParameterException(String message, Throwable cause)
      Creates a InvalidAlgorithmParameterException with the specified detail message and cause.
      InvalidAlgorithmParameterException(Throwable cause)
      Creates a InvalidAlgorithmParameterException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
      InvalidKeyException(String message, Throwable cause)
      Creates a InvalidKeyException with the specified detail message and cause.
      InvalidKeyException(Throwable cause)
      Creates a InvalidKeyException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
      KeyException(String message, Throwable cause)
      Creates a KeyException with the specified detail message and cause.
      KeyException(Throwable cause)
      Creates a KeyException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
      KeyManagementException(String message, Throwable cause)
      Creates a KeyManagementException with the specified detail message and cause.
      KeyManagementException(Throwable cause)
      Creates a KeyManagementException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
      KeyStoreException(String message, Throwable cause)
      Creates a KeyStoreException with the specified detail message and cause.
      KeyStoreException(Throwable cause)
      Creates a KeyStoreException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
      NoSuchAlgorithmException(String message, Throwable cause)
      Creates a NoSuchAlgorithmException with the specified detail message and cause.
      NoSuchAlgorithmException(Throwable cause)
      Creates a NoSuchAlgorithmException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
      ProviderException(String message, Throwable cause)
      Creates a ProviderException with the specified detail message and cause.
      ProviderException(Throwable cause)
      Creates a ProviderException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
      SignatureException(String message, Throwable cause)
      Creates a SignatureException with the specified detail message and cause.
      SignatureException(Throwable cause)
      Creates a SignatureException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
    • Uses of Throwable in java.security.acl

      Subclasses of Throwable in java.security.acl 
      Modifier and Type Class Description
      class  AclNotFoundException
      This is an exception that is thrown whenever a reference is made to a non-existent ACL (Access Control List).
      class  LastOwnerException
      This is an exception that is thrown whenever an attempt is made to delete the last owner of an Access Control List.
      class  NotOwnerException
      This is an exception that is thrown whenever the modification of an object (such as an Access Control List) is only allowed to be done by an owner of the object, but the Principal attempting the modification is not an owner.
    • Uses of Throwable in java.security.cert

      Subclasses of Throwable in java.security.cert 
      Modifier and Type Class Description
      class  CertificateRevokedException
      An exception that indicates an X.509 certificate is revoked.
      class  CertPathBuilderException
      An exception indicating one of a variety of problems encountered when building a certification path with a CertPathBuilder.
      class  CertPathValidatorException
      An exception indicating one of a variety of problems encountered when validating a certification path.
      class  CertStoreException
      An exception indicating one of a variety of problems retrieving certificates and CRLs from a CertStore.
      class  CRLException
      CRL (Certificate Revocation List) Exception.
      Constructors in java.security.cert with parameters of type Throwable 
      Constructor Description
      CertificateEncodingException(String message, Throwable cause)
      Creates a CertificateEncodingException with the specified detail message and cause.
      CertificateEncodingException(Throwable cause)
      Creates a CertificateEncodingException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
      CertificateException(String message, Throwable cause)
      Creates a CertificateException with the specified detail message and cause.
      CertificateException(Throwable cause)
      Creates a CertificateException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
      CertificateParsingException(String message, Throwable cause)
      Creates a CertificateParsingException with the specified detail message and cause.
      CertificateParsingException(Throwable cause)
      Creates a CertificateParsingException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
      CertPathBuilderException(String msg, Throwable cause)
      Creates a CertPathBuilderException with the specified detail message and cause.
      CertPathBuilderException(Throwable cause)
      Creates a CertPathBuilderException that wraps the specified throwable.
      CertPathValidatorException(String msg, Throwable cause)
      Creates a CertPathValidatorException with the specified detail message and cause.
      CertPathValidatorException(String msg, Throwable cause, CertPath certPath, int index)
      Creates a CertPathValidatorException with the specified detail message, cause, certification path, and index.
      CertPathValidatorException(String msg, Throwable cause, CertPath certPath, int index, CertPathValidatorException.Reason reason)
      Creates a CertPathValidatorException with the specified detail message, cause, certification path, index, and reason.
      CertPathValidatorException(Throwable cause)
      Creates a CertPathValidatorException that wraps the specified throwable.
      CertStoreException(String msg, Throwable cause)
      Creates a CertStoreException with the specified detail message and cause.
      CertStoreException(Throwable cause)
      Creates a CertStoreException that wraps the specified throwable.
      CRLException(String message, Throwable cause)
      Creates a CRLException with the specified detail message and cause.
      CRLException(Throwable cause)
      Creates a CRLException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
    • Uses of Throwable in java.security.spec

      Subclasses of Throwable in java.security.spec 
      Modifier and Type Class Description
      class  InvalidKeySpecException
      This is the exception for invalid key specifications.
      class  InvalidParameterSpecException
      This 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 a InvalidKeySpecException with the specified detail message and cause.
      InvalidKeySpecException(Throwable cause)
      Creates a InvalidKeySpecException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
    • Uses of Throwable in java.sql

      Subclasses of Throwable in java.sql 
      Modifier and Type Class Description
      class  BatchUpdateException
      The subclass of SQLException thrown when an error occurs during a batch update operation.
      class  DataTruncation
      An exception thrown as a DataTruncation exception (on writes) or reported as a DataTruncation warning (on reads) when a data values is unexpectedly truncated for reasons other than its having exceeded MaxFieldSize.
      class  SQLClientInfoException
      The subclass of SQLException is thrown when one or more client info properties could not be set on a Connection.
      class  SQLDataException
      The subclass of SQLException thrown when the SQLState class value is '22', or under vendor-specified conditions.
      class  SQLException
      An exception that provides information on a database access error or other errors.
      class  SQLFeatureNotSupportedException
      The subclass of SQLException thrown when the SQLState class value is '0A' ( the value is 'zero' A).
      class  SQLIntegrityConstraintViolationException
      The subclass of SQLException thrown when the SQLState class value is '23', or under vendor-specified conditions.
      class  SQLInvalidAuthorizationSpecException
      The subclass of SQLException thrown when the SQLState class value is '28', or under vendor-specified conditions.
      class  SQLNonTransientConnectionException
      The subclass of SQLException thrown for the SQLState class value '08', or under vendor-specified conditions.
      class  SQLNonTransientException
      The subclass of SQLException thrown when an instance where a retry of the same operation would fail unless the cause of the SQLException is corrected.
      class  SQLRecoverableException
      The subclass of SQLException thrown in situations where a previously failed operation might be able to succeed if the application performs some recovery steps and retries the entire transaction or in the case of a distributed transaction, the transaction branch.
      class  SQLSyntaxErrorException
      The subclass of SQLException thrown when the SQLState class value is '42', or under vendor-specified conditions.
      class  SQLTimeoutException
      The subclass of SQLException thrown when the timeout specified by Statement.setQueryTimeout, DriverManager.setLoginTimeout, DataSource.setLoginTimeout,XADataSource.setLoginTimeout has expired.
      class  SQLTransactionRollbackException
      The subclass of SQLException thrown when the SQLState class value is '40', or under vendor-specified conditions.
      class  SQLTransientConnectionException
      The subclass of SQLException for the SQLState class value '08', or under vendor-specified conditions.
      class  SQLTransientException
      The subclass of SQLException is thrown in situations where a previously failed operation might be able to succeed when the operation is retried without any intervention by application-level functionality.
      class  SQLWarning
      An 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 a BatchUpdateException object initialized with a given cause and updateCounts.
      BatchUpdateException(String reason, int[] updateCounts, Throwable cause)
      Constructs a BatchUpdateException object initialized with a given reason, cause and updateCounts.
      BatchUpdateException(String reason, String SQLState, int[] updateCounts, Throwable cause)
      Constructs a BatchUpdateException object initialized with a given reason, SQLState,cause, and updateCounts.
      BatchUpdateException(String reason, String SQLState, int vendorCode, int[] updateCounts, Throwable cause)
      Constructs a BatchUpdateException object initialized with a given reason, SQLState, vendorCode cause and updateCounts.
      BatchUpdateException(String reason, String SQLState, int vendorCode, long[] updateCounts, Throwable cause)
      Constructs a BatchUpdateException object initialized with a given reason, SQLState, vendorCode cause and updateCounts.
      BatchUpdateException(Throwable cause)
      Constructs a BatchUpdateException object initialized with a given cause.
      DataTruncation(int index, boolean parameter, boolean read, int dataSize, int transferSize, Throwable cause)
      Creates a DataTruncation object with the SQLState initialized to 01004 when read is set to true and 22001 when read is set to false, the reason set to "Data truncation", the vendor code set to 0, and the other fields set to the given values.
      SQLClientInfoException(Map<String,ClientInfoStatus> failedProperties, Throwable cause)
      Constructs a SQLClientInfoException object initialized with a given cause and failedProperties.
      SQLClientInfoException(String reason, Map<String,ClientInfoStatus> failedProperties, Throwable cause)
      Constructs a SQLClientInfoException object initialized with a given reason, cause and failedProperties.
      SQLClientInfoException(String reason, String SQLState, int vendorCode, Map<String,ClientInfoStatus> failedProperties, Throwable cause)
      Constructs a SQLClientInfoException object initialized with a given reason, SQLState, cause, vendorCode and failedProperties.
      SQLClientInfoException(String reason, String SQLState, Map<String,ClientInfoStatus> failedProperties, Throwable cause)
      Constructs a SQLClientInfoException object initialized with a given reason, SQLState, cause and failedProperties.
      SQLDataException(String reason, String SQLState, int vendorCode, Throwable cause)
      Constructs a SQLDataException object with a given reason, SQLState, vendorCode and cause.
      SQLDataException(String reason, String SQLState, Throwable cause)
      Constructs a SQLDataException object with a given reason, SQLState and cause.
      SQLDataException(String reason, Throwable cause)
      Constructs a SQLDataException object with a given reason and cause.
      SQLDataException(Throwable cause)
      Constructs a SQLDataException object with a given cause.
      SQLException(String reason, String sqlState, int vendorCode, Throwable cause)
      Constructs a SQLException object with a given reason, SQLState, vendorCode and cause.
      SQLException(String reason, String sqlState, Throwable cause)
      Constructs a SQLException object with a given reason, SQLState and cause.
      SQLException(String reason, Throwable cause)
      Constructs a SQLException object with a given reason and cause.
      SQLException(Throwable cause)
      Constructs a SQLException object with a given cause.
      SQLFeatureNotSupportedException(String reason, String SQLState, int vendorCode, Throwable cause)
      Constructs a SQLFeatureNotSupportedException object with a given reason, SQLState, vendorCode and cause.
      SQLFeatureNotSupportedException(String reason, String SQLState, Throwable cause)
      Constructs a SQLFeatureNotSupportedException object with a given reason, SQLState and cause.
      SQLFeatureNotSupportedException(String reason, Throwable cause)
      Constructs a SQLFeatureNotSupportedException object with a given reason and cause.
      SQLFeatureNotSupportedException(Throwable cause)
      Constructs a SQLFeatureNotSupportedException object with a given cause.
      SQLIntegrityConstraintViolationException(String reason, String SQLState, int vendorCode, Throwable cause)
      Constructs a SQLIntegrityConstraintViolationException object with a given reason, SQLState, vendorCode and cause.
      SQLIntegrityConstraintViolationException(String reason, String SQLState, Throwable cause)
      Constructs a SQLIntegrityConstraintViolationException object with a given reason, SQLState and cause.
      SQLIntegrityConstraintViolationException(String reason, Throwable cause)
      Constructs a SQLIntegrityConstraintViolationException object with a given reason and cause.
      SQLIntegrityConstraintViolationException(Throwable cause)
      Constructs an SQLIntegrityConstraintViolationException object with a given cause.
      SQLInvalidAuthorizationSpecException(String reason, String SQLState, int vendorCode, Throwable cause)
      Constructs a SQLInvalidAuthorizationSpecException object with a given reason, SQLState, vendorCode and cause.
      SQLInvalidAuthorizationSpecException(String reason, String SQLState, Throwable cause)
      Constructs a SQLInvalidAuthorizationSpecException object with a given reason, SQLState and cause.
      SQLInvalidAuthorizationSpecException(String reason, Throwable cause)
      Constructs a SQLInvalidAuthorizationSpecException object with a given reason and cause.
      SQLInvalidAuthorizationSpecException(Throwable cause)
      Constructs a SQLInvalidAuthorizationSpecException object with a given cause.
      SQLNonTransientConnectionException(String reason, String SQLState, int vendorCode, Throwable cause)
      Constructs a SQLNonTransientConnectionException object with a given reason, SQLState, vendorCode and cause.
      SQLNonTransientConnectionException(String reason, String SQLState, Throwable cause)
      Constructs a SQLNonTransientConnectionException object with a given reason, SQLState and cause.
      SQLNonTransientConnectionException(String reason, Throwable cause)
      Constructs a SQLTransientException object with a given reason and cause.
      SQLNonTransientConnectionException(Throwable cause)
      Constructs a SQLNonTransientConnectionException object with a given cause.
      SQLNonTransientException(String reason, String SQLState, int vendorCode, Throwable cause)
      Constructs a SQLNonTransientException object with a given reason, SQLState, vendorCode and cause.
      SQLNonTransientException(String reason, String SQLState, Throwable cause)
      Constructs a SQLNonTransientException object with a given reason, SQLState and cause.
      SQLNonTransientException(String reason, Throwable cause)
      Constructs a SQLTransientException object with a given reason and cause.
      SQLNonTransientException(Throwable cause)
      Constructs a SQLNonTransientException object with a given cause.
      SQLRecoverableException(String reason, String SQLState, int vendorCode, Throwable cause)
      Constructs a SQLRecoverableException object with a given reason, SQLState, vendorCode and cause.
      SQLRecoverableException(String reason, String SQLState, Throwable cause)
      Constructs a SQLRecoverableException object with a given reason, SQLState and cause.
      SQLRecoverableException(String reason, Throwable cause)
      Constructs a SQLRecoverableException object with a given reason and cause.
      SQLRecoverableException(Throwable cause)
      Constructs a SQLRecoverableException object with a given cause.
      SQLSyntaxErrorException(String reason, String SQLState, int vendorCode, Throwable cause)
      Constructs a SQLSyntaxErrorException object with a given reason, SQLState, vendorCode and cause.
      SQLSyntaxErrorException(String reason, String SQLState, Throwable cause)
      Constructs a SQLSyntaxErrorException object with a given reason, SQLState and cause.
      SQLSyntaxErrorException(String reason, Throwable cause)
      Constructs a SQLSyntaxErrorException object with a given reason and cause.
      SQLSyntaxErrorException(Throwable cause)
      Constructs a SQLSyntaxErrorException object with a given cause.
      SQLTimeoutException(String reason, String SQLState, int vendorCode, Throwable cause)
      Constructs a SQLTimeoutException object with a given reason, SQLState, vendorCode and cause.
      SQLTimeoutException(String reason, String SQLState, Throwable cause)
      Constructs a SQLTimeoutException object with a given reason, SQLState and cause.
      SQLTimeoutException(String reason, Throwable cause)
      Constructs a SQLTimeoutException object with a given reason and cause.
      SQLTimeoutException(Throwable cause)
      Constructs a SQLTimeoutException object with a given cause.
      SQLTransactionRollbackException(String reason, String SQLState, int vendorCode, Throwable cause)
      Constructs a SQLTransactionRollbackException object with a given reason, SQLState, vendorCode and cause.
      SQLTransactionRollbackException(String reason, String SQLState, Throwable cause)
      Constructs a SQLTransactionRollbackException object with a given reason, SQLState and cause.
      SQLTransactionRollbackException(String reason, Throwable cause)
      Constructs a SQLTransactionRollbackException object with a given reason and cause.
      SQLTransactionRollbackException(Throwable cause)
      Constructs a SQLTransactionRollbackException object with a given cause.
      SQLTransientConnectionException(String reason, String SQLState, int vendorCode, Throwable cause)
      Constructs a SQLTransientConnectionException object with a given reason, SQLState, vendorCode and cause.
      SQLTransientConnectionException(String reason, String SQLState, Throwable cause)
      Constructs a SQLTransientConnectionException object with a given reason, SQLState and cause.
      SQLTransientConnectionException(String reason, Throwable cause)
      Constructs a SQLTransientConnectionException object with a given reason and cause.
      SQLTransientConnectionException(Throwable cause)
      Constructs a SQLTransientConnectionException object with a given cause.
      SQLTransientException(String reason, String SQLState, int vendorCode, Throwable cause)
      Constructs a SQLTransientException object with a given reason, SQLState, vendorCode and cause.
      SQLTransientException(String reason, String SQLState, Throwable cause)
      Constructs a SQLTransientException object with a given reason, SQLState and cause.
      SQLTransientException(String reason, Throwable cause)
      Constructs a SQLTransientException object with a given reason and cause.
      SQLTransientException(Throwable cause)
      Constructs a SQLTransientException object with a given cause.
      SQLWarning(String reason, String SQLState, int vendorCode, Throwable cause)
      Constructs aSQLWarning object with a given reason, SQLState, vendorCode and cause.
      SQLWarning(String reason, String SQLState, Throwable cause)
      Constructs a SQLWarning object with a given reason, SQLState and cause.
      SQLWarning(String reason, Throwable cause)
      Constructs a SQLWarning object with a given reason and cause.
      SQLWarning(Throwable cause)
      Constructs a SQLWarning object with a given cause.
    • Uses of Throwable in java.text

      Subclasses of Throwable in java.text 
      Modifier and Type Class Description
      class  ParseException
      Signals 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
      class  DateTimeException
      Exception 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
      class  DateTimeParseException
      An 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
      class  UnsupportedTemporalTypeException
      UnsupportedTemporalTypeException 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
      class  ZoneRulesException
      Thrown 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
      class  ConcurrentModificationException
      This exception may be thrown by methods that have detected concurrent modification of an object when such modification is not permissible.
      class  DuplicateFormatFlagsException
      Unchecked exception thrown when duplicate flags are provided in the format specifier.
      class  EmptyStackException
      Thrown by methods in the Stack class to indicate that the stack is empty.
      class  FormatFlagsConversionMismatchException
      Unchecked exception thrown when a conversion and flag are incompatible.
      class  FormatterClosedException
      Unchecked exception thrown when the formatter has been closed.
      class  IllegalFormatCodePointException
      Unchecked exception thrown when a character with an invalid Unicode code point as defined by Character.isValidCodePoint(int) is passed to the Formatter.
      class  IllegalFormatConversionException
      Unchecked exception thrown when the argument corresponding to the format specifier is of an incompatible type.
      class  IllegalFormatException
      Unchecked exception thrown when a format string contains an illegal syntax or a format specifier that is incompatible with the given arguments.
      class  IllegalFormatFlagsException
      Unchecked exception thrown when an illegal combination flags is given.
      class  IllegalFormatPrecisionException
      Unchecked exception thrown when the precision is a negative value other than -1, the conversion does not support a precision, or the value is otherwise unsupported.
      class  IllegalFormatWidthException
      Unchecked exception thrown when the format width is a negative value other than -1 or is otherwise unsupported.
      class  IllformedLocaleException
      Thrown by methods in Locale and Locale.Builder to indicate that an argument is not a well-formed BCP 47 tag.
      class  InputMismatchException
      Thrown by a Scanner to indicate that the token retrieved does not match the pattern for the expected type, or that the token is out of range for the expected type.
      class  InvalidPropertiesFormatException
      Thrown to indicate that an operation could not complete because the input did not conform to the appropriate XML document type for a collection of properties, as per the Properties specification.
      class  MissingFormatArgumentException
      Unchecked exception thrown when there is a format specifier which does not have a corresponding argument or if an argument index refers to an argument that does not exist.
      class  MissingFormatWidthException
      Unchecked exception thrown when the format width is required.
      class  MissingResourceException
      Signals that a resource is missing.
      class  NoSuchElementException
      Thrown by various accessor methods to indicate that the element being requested does not exist.
      class  ServiceConfigurationError
      Error thrown when something goes wrong while loading a service provider.
      class  TooManyListenersException
      The TooManyListenersException Exception is used as part of the Java Event model to annotate and implement a unicast special case of a multicast Event Source.
      class  UnknownFormatConversionException
      Unchecked exception thrown when an unknown conversion is given.
      class  UnknownFormatFlagsException
      Unchecked 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>
      T
      Optional.orElseThrow(Supplier<? extends X> exceptionSupplier)
      Return the contained value, if present, otherwise throw an exception to be created by the provided supplier.
      <X extends Throwable>
      long
      OptionalLong.orElseThrow(Supplier<X> exceptionSupplier)
      Return the contained value, if present, otherwise throw an exception to be created by the provided supplier.
      <X extends Throwable>
      double
      OptionalDouble.orElseThrow(Supplier<X> exceptionSupplier)
      Return the contained value, if present, otherwise throw an exception to be created by the provided supplier.
      <X extends Throwable>
      int
      OptionalInt.orElseThrow(Supplier<X> exceptionSupplier)
      Return the contained value, if present, otherwise throw an exception to be created by the provided supplier.
      Methods in java.util that throw Throwable 
      Modifier and Type Method Description
      <X extends Throwable>
      T
      Optional.orElseThrow(Supplier<? extends X> exceptionSupplier)
      Return the contained value, if present, otherwise throw an exception to be created by the provided supplier.
      <X extends Throwable>
      long
      OptionalLong.orElseThrow(Supplier<X> exceptionSupplier)
      Return the contained value, if present, otherwise throw an exception to be created by the provided supplier.
      <X extends Throwable>
      double
      OptionalDouble.orElseThrow(Supplier<X> exceptionSupplier)
      Return the contained value, if present, otherwise throw an exception to be created by the provided supplier.
      <X extends Throwable>
      int
      OptionalInt.orElseThrow(Supplier<X> exceptionSupplier)
      Return the contained value, if present, otherwise throw an exception to be created by the provided supplier.
      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 of cause.
      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
      class  BrokenBarrierException
      Exception thrown when a thread tries to wait upon a barrier that is in a broken state, or which enters the broken state while the thread is waiting.
      class  CancellationException
      Exception indicating that the result of a value-producing task, such as a FutureTask, cannot be retrieved because the task was cancelled.
      class  CompletionException
      Exception thrown when an error or other exception is encountered in the course of completing a result or task.
      class  ExecutionException
      Exception thrown when attempting to retrieve the result of a task that aborted by throwing an exception.
      class  RejectedExecutionException
      Exception thrown by an Executor when a task cannot be accepted for execution.
      class  TimeoutException
      Exception thrown when a blocking operation times out.
      Methods in java.util.concurrent that return Throwable 
      Modifier and Type Method Description
      Throwable ForkJoinTask.getException()
      Returns the exception thrown by the base computation, or a CancellationException if cancelled, or null if 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 void ThreadPoolExecutor.afterExecute(Runnable r, Throwable t)
      Method invoked upon completion of execution of the given Runnable.
      boolean CompletableFuture.completeExceptionally(Throwable ex)
      If not already completed, causes invocations of CompletableFuture.get() and related methods to throw the given exception.
      void ForkJoinTask.completeExceptionally(Throwable ex)
      Completes this task abnormally, and if not already aborted or cancelled, causes it to throw the given exception upon join and related operations.
      void CompletableFuture.obtrudeException(Throwable ex)
      Forcibly causes subsequent invocations of method CompletableFuture.get() and related methods to throw the given exception, whether or not already completed.
      boolean CountedCompleter.onExceptionalCompletion(Throwable ex, CountedCompleter<?> caller)
      Performs an action when method ForkJoinTask.completeExceptionally(Throwable) is invoked or method CountedCompleter.compute() throws an exception, and this task has not already otherwise completed normally.
      protected void ForkJoinWorkerThread.onTermination(Throwable exception)
      Performs cleanup associated with termination of this worker thread.
      protected void FutureTask.setException(Throwable t)
      Causes this future to report an ExecutionException with 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
      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.
      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.
      <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> CompletableFuture<U> CompletableFuture.handle(BiFunction<? super T,Throwable,? extends U> fn) 
      <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> CompletableFuture<U> CompletableFuture.handleAsync(BiFunction<? super T,Throwable,? extends U> fn) 
      <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.
      <U> CompletableFuture<U> CompletableFuture.handleAsync(BiFunction<? super T,Throwable,? extends U> fn, Executor executor) 
      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.
      CompletableFuture<T> CompletableFuture.whenComplete(BiConsumer<? super T,? super Throwable> action) 
      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.
      CompletableFuture<T> CompletableFuture.whenCompleteAsync(BiConsumer<? super T,? super Throwable> action) 
      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.
      CompletableFuture<T> CompletableFuture.whenCompleteAsync(BiConsumer<? super T,? super Throwable> action, Executor executor) 
      Constructors in java.util.concurrent with parameters of type Throwable 
      Constructor Description
      CompletionException(String message, Throwable cause)
      Constructs a CompletionException with the specified detail message and cause.
      CompletionException(Throwable cause)
      Constructs a CompletionException with the specified cause.
      ExecutionException(String message, Throwable cause)
      Constructs an ExecutionException with the specified detail message and cause.
      ExecutionException(Throwable cause)
      Constructs an ExecutionException with the specified cause.
      RejectedExecutionException(String message, Throwable cause)
      Constructs a RejectedExecutionException with the specified detail message and cause.
      RejectedExecutionException(Throwable cause)
      Constructs a RejectedExecutionException with the specified cause.
    • Uses of Throwable in java.util.jar

      Subclasses of Throwable in java.util.jar 
      Modifier and Type Class Description
      class  JarException
      Signals 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
      Throwable LogRecord.getThrown()
      Get any throwable associated with the log record.
      Methods in java.util.logging with parameters of type Throwable 
      Modifier and Type Method Description
      void Logger.log(Level level, String msg, Throwable thrown)
      Log a message, with associated Throwable information.
      void Logger.log(Level level, Throwable thrown, Supplier<String> msgSupplier)
      Log a lazily constructed message, with associated Throwable information.
      void Logger.logp(Level level, String sourceClass, String sourceMethod, String msg, Throwable thrown)
      Log a message, specifying source class and method, with associated Throwable information.
      void Logger.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.
      void Logger.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.
      void Logger.logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg, Throwable thrown)
      Deprecated. 
      Use Logger.logrb(java.util.logging.Level, java.lang.String, java.lang.String, java.util.ResourceBundle, java.lang.String, java.lang.Throwable) instead.
      void LogRecord.setThrown(Throwable thrown)
      Set a throwable associated with the log event.
      void Logger.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
      class  BackingStoreException
      Thrown to indicate that a preferences operation could not complete because of a failure in the backing store, or a failure to contact the backing store.
      class  InvalidPreferencesFormatException
      Thrown to indicate that an operation could not complete because the input did not conform to the appropriate XML document type for a collection of preferences, as per the Preferences specification.
      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
      class  PatternSyntaxException
      Unchecked 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
      class  DataFormatException
      Signals that a data format error has occurred.
      class  ZipError
      Signals that an unrecoverable error has occurred.
      class  ZipException
      Signals that a Zip exception of some sort has occurred.
    • Uses of Throwable in javax.activation

      Subclasses of Throwable in javax.activation 
      Modifier and Type Class Description
      class  UnsupportedDataTypeException
      Signals that the requested operation does not support the requested data type.
    • Uses of Throwable in javax.activity

      Subclasses of Throwable in javax.activity 
      Modifier and Type Class Description
      class  ActivityCompletedException
      This exception may be thrown on any method for which Activity context is accessed and indicates that ongoing work within the Activity is not possible.
      class  ActivityRequiredException
      This exception is thrown by a container if Activity context is not received on a method for which Activity context is mandatory.
      class  InvalidActivityException
      This exception may be thrown on any method for which Activity context is accessed and indicates that the attempted invocation or the Activity context associated with the attempted invocation is incompatible with the Activity's current state.
      Constructors in javax.activity with parameters of type Throwable 
      Constructor Description
      ActivityCompletedException(String message, Throwable cause)
      Constructs a new throwable with the specified detail message and cause.
      ActivityCompletedException(Throwable cause)
      Constructs a new throwable with the specified cause.
      ActivityRequiredException(String message, Throwable cause)
      Constructs a new throwable with the specified detail message and cause.
      ActivityRequiredException(Throwable cause)
      Constructs a new throwable with the specified cause.
      InvalidActivityException(String message, Throwable cause)
      Constructs a new throwable with the specified detail message and cause.
      InvalidActivityException(Throwable cause)
      Constructs a new throwable with the specified cause.
    • Uses of Throwable in javax.annotation.processing

      Subclasses of Throwable in javax.annotation.processing 
      Modifier and Type Class Description
      class  FilerException
      Indicates a Filer detected an attempt to open a file that would violate the guarantees provided by the Filer.
    • Uses of Throwable in javax.crypto

      Subclasses of Throwable in javax.crypto 
      Modifier and Type Class Description
      class  AEADBadTagException
      This exception is thrown when a Cipher operating in an AEAD mode (such as GCM/CCM) is unable to verify the supplied authentication tag.
      class  BadPaddingException
      This exception is thrown when a particular padding mechanism is expected for the input data but the data is not padded properly.
      class  ExemptionMechanismException
      This is the generic ExemptionMechanism exception.
      class  IllegalBlockSizeException
      This exception is thrown when the length of data provided to a block cipher is incorrect, i.e., does not match the block size of the cipher.
      class  NoSuchPaddingException
      This exception is thrown when a particular padding mechanism is requested but is not available in the environment.
      class  ShortBufferException
      This 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
      class  IIOException
      An 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 an IIOException with a given message String and a Throwable that was its underlying cause.
    • Uses of Throwable in javax.imageio.metadata

      Subclasses of Throwable in javax.imageio.metadata 
      Modifier and Type Class Description
      class  IIOInvalidTreeException
      An IIOInvalidTreeException is thrown when an attempt by an IIOMetadata object to parse a tree of IIOMetadataNodes fails.
      Constructors in javax.imageio.metadata with parameters of type Throwable 
      Constructor Description
      IIOInvalidTreeException(String message, Throwable cause, Node offendingNode)
      Constructs an IIOInvalidTreeException with a message string, a reference to an exception that caused this exception, and a reference to the Node that caused the parsing error.
    • Uses of Throwable in javax.imageio.spi

      Methods in javax.imageio.spi that throw Throwable 
      Modifier and Type Method Description
      void ServiceRegistry.finalize()
      Finalizes this object prior to garbage collection.
    • Uses of Throwable in javax.imageio.stream

      Methods in javax.imageio.stream that throw Throwable 
      Modifier and Type Method Description
      protected void FileCacheImageInputStream.finalize()
      Finalizes this object prior to garbage collection.
      protected void FileImageOutputStream.finalize()
      Finalizes this object prior to garbage collection.
      protected void FileImageInputStream.finalize()
      Finalizes this object prior to garbage collection.
      protected void MemoryCacheImageInputStream.finalize()
      Finalizes this object prior to garbage collection.
      protected void ImageInputStreamImpl.finalize()
      Finalizes this object prior to garbage collection.
    • Uses of Throwable in javax.lang.model

      Subclasses of Throwable in javax.lang.model 
      Modifier and Type Class Description
      class  UnknownEntityException
      Superclass 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
      class  UnknownAnnotationValueException
      Indicates that an unknown kind of annotation value was encountered.
      class  UnknownElementException
      Indicates 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
      class  MirroredTypeException
      Thrown when an application attempts to access the Class object corresponding to a TypeMirror.
      class  MirroredTypesException
      Thrown when an application attempts to access a sequence of Class objects each corresponding to a TypeMirror.
      class  UnknownTypeException
      Indicates 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
      class  AttributeNotFoundException
      The specified attribute does not exist or cannot be retrieved.
      class  BadAttributeValueExpException
      Thrown when an invalid MBean attribute is passed to a query constructing method.
      class  BadBinaryOpValueExpException
      Thrown when an invalid expression is passed to a method for constructing a query.
      class  BadStringOperationException
      Thrown when an invalid string operation is passed to a method for constructing a query.
      class  InstanceAlreadyExistsException
      The MBean is already registered in the repository.
      class  InstanceNotFoundException
      The specified MBean does not exist in the repository.
      class  InvalidApplicationException
      Thrown when an attempt is made to apply either of the following: A subquery expression to an MBean or a qualified attribute expression to an MBean of the wrong class.
      class  InvalidAttributeValueException
      The value specified is not valid for the attribute.
      class  JMException
      Exceptions thrown by JMX implementations.
      class  JMRuntimeException
      Runtime exceptions emitted by JMX implementations.
      class  ListenerNotFoundException
      The specified MBean listener does not exist in the repository.
      class  MalformedObjectNameException
      The format of the string does not correspond to a valid ObjectName.
      class  MBeanException
      Represents "user defined" exceptions thrown by MBean methods in the agent.
      class  MBeanRegistrationException
      Wraps exceptions thrown by the preRegister(), preDeregister() methods of the MBeanRegistration interface.
      class  NotCompliantMBeanException
      Exception which occurs when trying to register an object in the MBean server that is not a JMX compliant MBean.
      class  OperationsException
      Represents exceptions thrown in the MBean server when performing operations on MBeans.
      class  ReflectionException
      Represents exceptions thrown in the MBean server when using the java.lang.reflect classes to invoke methods on MBeans.
      class  RuntimeErrorException
      When a java.lang.Error occurs in the agent it should be caught and re-thrown as a RuntimeErrorException.
      class  RuntimeMBeanException
      Represents runtime exceptions thrown by MBean methods in the agent.
      class  RuntimeOperationsException
      Represents runtime exceptions thrown in the agent when performing operations on MBeans.
      class  ServiceNotFoundException
      Represents exceptions raised when a requested service is not supported.
      Methods in javax.management that return Throwable 
      Modifier and Type Method Description
      Throwable RuntimeErrorException.getCause()
      Returns the actual Error thrown.
      Throwable RuntimeMBeanException.getCause()
      Returns the actual RuntimeException thrown.
      Throwable RuntimeOperationsException.getCause()
      Returns the actual RuntimeException thrown.
      Throwable ReflectionException.getCause()
      Returns the actual Exception thrown.
      Throwable MBeanException.getCause()
      Return the actual Exception thrown.
      Methods in javax.management that throw Throwable 
      Modifier and Type Method Description
      Object MBeanServerInvocationHandler.invoke(Object proxy, Method method, Object[] args) 
    • Uses of Throwable in javax.management.modelmbean

      Subclasses of Throwable in javax.management.modelmbean 
      Modifier and Type Class Description
      class  InvalidTargetObjectTypeException
      Exception thrown when an invalid target object type is specified.
      class  XMLParseException
      This exception is thrown when an XML formatted string is being parsed into ModelMBean objects or when XML formatted strings are being created from ModelMBean objects.
    • Uses of Throwable in javax.management.monitor

      Subclasses of Throwable in javax.management.monitor 
      Modifier and Type Class Description
      class  MonitorSettingException
      Exception 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
      class  InvalidOpenTypeException
      This runtime exception is thrown to indicate that the open type of an open data value is not the one expected.
      class  KeyAlreadyExistsException
      This runtime exception is thrown to indicate that the index of a row to be added to a tabular data instance is already used to refer to another row in this tabular data instance.
      class  OpenDataException
      This checked exception is thrown when an open type, an open data or an open MBean metadata info instance could not be constructed because one or more validity constraints were not met.
      Methods in javax.management.openmbean that throw Throwable 
      Modifier and Type Method Description
      Object [Page truncated to keep GeezerVison snappy.]

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.