# Exception

public class **Exception** extends [Throwable](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Throwable.html)  

|---|---|---|
| Known Direct Subclasses [BrokenBarrierException](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/concurrent/BrokenBarrierException.html), [CertificateException](https://developers.google.com/j2objc/javadoc/jre/reference/javax/security/cert/CertificateException.html), [CloneNotSupportedException](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/CloneNotSupportedException.html), [DataFormatException](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/zip/DataFormatException.html), [DatatypeConfigurationException](https://developers.google.com/j2objc/javadoc/jre/reference/javax/xml/datatype/DatatypeConfigurationException.html), [DestroyFailedException](https://developers.google.com/j2objc/javadoc/jre/reference/javax/security/auth/DestroyFailedException.html), [ExecutionException](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/concurrent/ExecutionException.html), [GeneralSecurityException](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/GeneralSecurityException.html), [IOException](https://developers.google.com/j2objc/javadoc/jre/reference/java/io/IOException.html), [InterruptedException](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/InterruptedException.html), [IntrospectionException](https://developers.google.com/j2objc/javadoc/jre/reference/java/beans/IntrospectionException.html), [ParseException](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/ParseException.html), [ParserConfigurationException](https://developers.google.com/j2objc/javadoc/jre/reference/javax/xml/parsers/ParserConfigurationException.html), [PrivilegedActionException](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/PrivilegedActionException.html), [PropertyVetoException](https://developers.google.com/j2objc/javadoc/jre/reference/java/beans/PropertyVetoException.html), and [10 others.](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Exception#) |---|---| | [BrokenBarrierException](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/concurrent/BrokenBarrierException.html) | 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. | | [CertificateException](https://developers.google.com/j2objc/javadoc/jre/reference/javax/security/cert/CertificateException.html) | This exception indicates one of a variety of certificate problems. | | [CloneNotSupportedException](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/CloneNotSupportedException.html) | 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. | | [DataFormatException](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/zip/DataFormatException.html) | Signals that a data format error has occurred. | | [DatatypeConfigurationException](https://developers.google.com/j2objc/javadoc/jre/reference/javax/xml/datatype/DatatypeConfigurationException.html) | Indicates a serious configuration error. | | [DestroyFailedException](https://developers.google.com/j2objc/javadoc/jre/reference/javax/security/auth/DestroyFailedException.html) | Signals that a `destroy` operation failed. | | [ExecutionException](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/concurrent/ExecutionException.html) | Exception thrown when attempting to retrieve the result of a task that aborted by throwing an exception. | | [GeneralSecurityException](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/GeneralSecurityException.html) | The `GeneralSecurityException` class is a generic security exception class that provides type safety for all the security-related exception classes that extend from it. | | [IOException](https://developers.google.com/j2objc/javadoc/jre/reference/java/io/IOException.html) | Signals that an I/O exception of some sort has occurred. | | [InterruptedException](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/InterruptedException.html) | Thrown when a thread is waiting, sleeping, or otherwise occupied, and the thread is interrupted, either before or during the activity. | | [IntrospectionException](https://developers.google.com/j2objc/javadoc/jre/reference/java/beans/IntrospectionException.html) |   | | [ParseException](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/ParseException.html) | Signals that an error has been reached unexpectedly while parsing. | | [ParserConfigurationException](https://developers.google.com/j2objc/javadoc/jre/reference/javax/xml/parsers/ParserConfigurationException.html) | Indicates a serious configuration error. | | [PrivilegedActionException](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/PrivilegedActionException.html) | Legacy security code; do not use. | | [PropertyVetoException](https://developers.google.com/j2objc/javadoc/jre/reference/java/beans/PropertyVetoException.html) | Indicates that a proposed property change is unacceptable. | | [ReflectiveOperationException](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/ReflectiveOperationException.html) | Common superclass of exceptions thrown by reflective operations in core reflection. | | [RuntimeException](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/RuntimeException.html) | `RuntimeException` is the superclass of those exceptions that can be thrown during the normal operation of the Java Virtual Machine. | | [SAXException](https://developers.google.com/j2objc/javadoc/jre/reference/org/xml/sax/SAXException.html) | Encapsulate a general SAX error or warning. | | [SQLException](https://developers.google.com/j2objc/javadoc/jre/reference/java/sql/SQLException.html) | An exception that provides information on a database access error or other errors. | | [TimeoutException](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/concurrent/TimeoutException.html) | Exception thrown when a blocking operation times out. | | [TooManyListenersException](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/TooManyListenersException.html) | 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. | | [TransformerException](https://developers.google.com/j2objc/javadoc/jre/reference/javax/xml/transform/TransformerException.html) | This class specifies an exceptional condition that occurred during the transformation process. | | [URISyntaxException](https://developers.google.com/j2objc/javadoc/jre/reference/java/net/URISyntaxException.html) | Checked exception thrown to indicate that a string could not be parsed as a URI reference. | | [UnsupportedCallbackException](https://developers.google.com/j2objc/javadoc/jre/reference/javax/security/auth/callback/UnsupportedCallbackException.html) | Signals that a `CallbackHandler` does not recognize a particular `Callback`. | | [XPathException](https://developers.google.com/j2objc/javadoc/jre/reference/javax/xml/xpath/XPathException.html) | `XPathException` represents a generic XPath exception. | |||

|---|---|---|
| Known Indirect Subclasses [AEADBadTagException](https://developers.google.com/j2objc/javadoc/jre/reference/javax/crypto/AEADBadTagException.html), [AcceptPendingException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/channels/AcceptPendingException.html), [AccessControlException](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/AccessControlException.html), [AccessDeniedException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/AccessDeniedException.html), [AlreadyBoundException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/channels/AlreadyBoundException.html), [AlreadyConnectedException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/channels/AlreadyConnectedException.html), [AnnotationTypeMismatchException](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/annotation/AnnotationTypeMismatchException.html), [ArithmeticException](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/ArithmeticException.html), [ArrayIndexOutOfBoundsException](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/ArrayIndexOutOfBoundsException.html), [ArrayStoreException](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/ArrayStoreException.html), [AsynchronousCloseException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/channels/AsynchronousCloseException.html), [AtomicMoveNotSupportedException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/AtomicMoveNotSupportedException.html), [BadPaddingException](https://developers.google.com/j2objc/javadoc/jre/reference/javax/crypto/BadPaddingException.html), [BatchUpdateException](https://developers.google.com/j2objc/javadoc/jre/reference/java/sql/BatchUpdateException.html), [BindException](https://developers.google.com/j2objc/javadoc/jre/reference/java/net/BindException.html), and [185 others.](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Exception#) |---|---| | [AEADBadTagException](https://developers.google.com/j2objc/javadoc/jre/reference/javax/crypto/AEADBadTagException.html) | This exception is thrown when a `https://developers.google.com/j2objc/javadoc/jre/reference/javax/crypto/Cipher.html` operating in an AEAD mode (such as GCM/CCM) is unable to verify the supplied authentication tag. | | [AcceptPendingException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/channels/AcceptPendingException.html) | Unchecked exception thrown when an attempt is made to initiate an accept operation on a channel and a previous accept operation has not completed. | | [AccessControlException](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/AccessControlException.html) | 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. | | [AccessDeniedException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/AccessDeniedException.html) | Checked exception thrown when a file system operation is denied, typically due to a file permission or other access check. | | [AlreadyBoundException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/channels/AlreadyBoundException.html) | Unchecked exception thrown when an attempt is made to bind the socket a network oriented channel that is already bound. | | [AlreadyConnectedException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/channels/AlreadyConnectedException.html) | Unchecked exception thrown when an attempt is made to connect a `https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/channels/SocketChannel.html` that is already connected. | | [AnnotationTypeMismatchException](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/annotation/AnnotationTypeMismatchException.html) | 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). | | [ArithmeticException](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/ArithmeticException.html) | Thrown when an exceptional arithmetic condition has occurred. | | [ArrayIndexOutOfBoundsException](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/ArrayIndexOutOfBoundsException.html) | Thrown to indicate that an array has been accessed with an illegal index. | | [ArrayStoreException](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/ArrayStoreException.html) | Thrown to indicate that an attempt has been made to store the wrong type of object into an array of objects. | | [AsynchronousCloseException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/channels/AsynchronousCloseException.html) | 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. | | [AtomicMoveNotSupportedException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/AtomicMoveNotSupportedException.html) | Checked exception thrown when a file cannot be moved as an atomic file system operation. | | [BadPaddingException](https://developers.google.com/j2objc/javadoc/jre/reference/javax/crypto/BadPaddingException.html) | This exception is thrown when a particular padding mechanism is expected for the input data but the data is not padded properly. | | [BatchUpdateException](https://developers.google.com/j2objc/javadoc/jre/reference/java/sql/BatchUpdateException.html) | The subclass of `https://developers.google.com/j2objc/javadoc/jre/reference/java/sql/SQLException.html` thrown when an error occurs during a batch update operation. | | [BindException](https://developers.google.com/j2objc/javadoc/jre/reference/java/net/BindException.html) | Signals that an error occurred while attempting to bind a socket to a local address and port. | | [BufferOverflowException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/BufferOverflowException.html) | Unchecked exception thrown when a relative *put* operation reaches the target buffer's limit. | | [BufferUnderflowException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/BufferUnderflowException.html) | Unchecked exception thrown when a relative *get* operation reaches the source buffer's limit. | | [CRLException](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/cert/CRLException.html) | CRL (Certificate Revocation List) Exception. | | [CancellationException](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/concurrent/CancellationException.html) | Exception indicating that the result of a value-producing task, such as a `https://developers.google.com/j2objc/javadoc/jre/reference/java/util/concurrent/FutureTask.html`, cannot be retrieved because the task was cancelled. | | [CancelledKeyException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/channels/CancelledKeyException.html) | Unchecked exception thrown when an attempt is made to use a selection key that is no longer valid. | | [CertPathBuilderException](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/cert/CertPathBuilderException.html) | An exception indicating one of a variety of problems encountered when building a certification path with a `CertPathBuilder`. | | [CertPathValidatorException](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/cert/CertPathValidatorException.html) | An exception indicating one of a variety of problems encountered when validating a certification path. | | [CertStoreException](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/cert/CertStoreException.html) | An exception indicating one of a variety of problems retrieving certificates and CRLs from a `CertStore`. | | [CertificateEncodingException](https://developers.google.com/j2objc/javadoc/jre/reference/javax/security/cert/CertificateEncodingException.html) | Certificate Encoding Exception. | | [CertificateException](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/cert/CertificateException.html) | This exception indicates one of a variety of certificate problems. | | [CertificateExpiredException](https://developers.google.com/j2objc/javadoc/jre/reference/javax/security/cert/CertificateExpiredException.html) | Certificate Expired Exception. | | [CertificateNotYetValidException](https://developers.google.com/j2objc/javadoc/jre/reference/javax/security/cert/CertificateNotYetValidException.html) | Certificate is not yet valid exception. | | [CertificateParsingException](https://developers.google.com/j2objc/javadoc/jre/reference/javax/security/cert/CertificateParsingException.html) | Certificate Parsing Exception. | | [CertificateRevokedException](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/cert/CertificateRevokedException.html) | An exception that indicates an X.509 certificate is revoked. | | [CharConversionException](https://developers.google.com/j2objc/javadoc/jre/reference/java/io/CharConversionException.html) | Base class for character conversion exceptions. | | [CharacterCodingException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/charset/CharacterCodingException.html) | Checked exception thrown when a character encoding or decoding error occurs. | | [ClassCastException](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/ClassCastException.html) | Thrown to indicate that the code has attempted to cast an object to a subclass of which it is not an instance. | | [ClassNotFoundException](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/ClassNotFoundException.html) | Thrown when an application tries to load in a class through its string name using: - The `forName` method in class `Class`. | | [ClosedByInterruptException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/channels/ClosedByInterruptException.html) | Checked exception received by a thread when another thread interrupts it while it is blocked in an I/O operation upon a channel. | | [ClosedChannelException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/channels/ClosedChannelException.html) | 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. | | [ClosedDirectoryStreamException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/ClosedDirectoryStreamException.html) | Unchecked exception thrown when an attempt is made to invoke an operation on a directory stream that is closed. | | [ClosedFileSystemException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/ClosedFileSystemException.html) | Unchecked exception thrown when an attempt is made to invoke an operation on a file and the file system is closed. | | [ClosedSelectorException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/channels/ClosedSelectorException.html) | Unchecked exception thrown when an attempt is made to invoke an I/O operation upon a closed selector. | | [ClosedWatchServiceException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/ClosedWatchServiceException.html) | Unchecked exception thrown when an attempt is made to invoke an operation on a watch service that is closed. | | [CompletionException](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/concurrent/CompletionException.html) | Exception thrown when an error or other exception is encountered in the course of completing a result or task. | | [ConcurrentModificationException](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/ConcurrentModificationException.html) | This exception may be thrown by methods that have detected concurrent modification of an object when such modification is not permissible. | | [ConnectException](https://developers.google.com/j2objc/javadoc/jre/reference/java/net/ConnectException.html) | Signals that an error occurred while attempting to connect a socket to a remote address and port. | | [ConnectionPendingException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/channels/ConnectionPendingException.html) | Unchecked exception thrown when an attempt is made to connect a `https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/channels/SocketChannel.html` for which a non-blocking connection operation is already in progress. | | [DOMException](https://developers.google.com/j2objc/javadoc/jre/reference/org/w3c/dom/DOMException.html) | DOM operations only raise exceptions in "exceptional" circumstances, i.e., when an operation is impossible to perform (either for logical reasons, because data is lost, or because the implementation has become unstable). | | [DataTruncation](https://developers.google.com/j2objc/javadoc/jre/reference/java/sql/DataTruncation.html) | 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 execeeded `MaxFieldSize`. | | [DateTimeException](https://developers.google.com/j2objc/javadoc/jre/reference/java/time/DateTimeException.html) | Exception used to indicate a problem while calculating a date-time. | | [DateTimeParseException](https://developers.google.com/j2objc/javadoc/jre/reference/java/time/format/DateTimeParseException.html) | An exception thrown when an error occurs during parsing. | | [DigestException](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/DigestException.html) | This is the generic Message Digest exception. | | [DirectoryIteratorException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/DirectoryIteratorException.html) | Runtime exception thrown if an I/O error is encountered when iterating over the entries in a directory. | | [DirectoryNotEmptyException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/DirectoryNotEmptyException.html) | Checked exception thrown when a file system operation fails because a directory is not empty. | | [DuplicateFormatFlagsException](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/DuplicateFormatFlagsException.html) | Unchecked exception thrown when duplicate flags are provided in the format specifier. | | [EOFException](https://developers.google.com/j2objc/javadoc/jre/reference/java/io/EOFException.html) | Signals that an end of file or end of stream has been reached unexpectedly during input. | | [EmptyStackException](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/EmptyStackException.html) | Thrown by methods in the `Stack` class to indicate that the stack is empty. | | [EnumConstantNotPresentException](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/EnumConstantNotPresentException.html) | Thrown when an application tries to access an enum constant by name and the enum type contains no constant with the specified name. | | [ExemptionMechanismException](https://developers.google.com/j2objc/javadoc/jre/reference/javax/crypto/ExemptionMechanismException.html) | This is the generic ExemptionMechanism exception. | | [FileAlreadyExistsException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/FileAlreadyExistsException.html) | Checked exception thrown when an attempt is made to create a file or directory and a file of that name already exists. | | [FileLockInterruptionException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/channels/FileLockInterruptionException.html) | Checked exception received by a thread when another thread interrupts it while it is waiting to acquire a file lock. | | [FileNotFoundException](https://developers.google.com/j2objc/javadoc/jre/reference/java/io/FileNotFoundException.html) | Signals that an attempt to open the file denoted by a specified pathname has failed. | | [FileSystemAlreadyExistsException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/FileSystemAlreadyExistsException.html) | Runtime exception thrown when an attempt is made to create a file system that already exists. | | [FileSystemException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/FileSystemException.html) | Thrown when a file system operation fails on one or two files. | | [FileSystemLoopException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/FileSystemLoopException.html) | Checked exception thrown when a file system loop, or cycle, is encountered. | | [FileSystemNotFoundException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/FileSystemNotFoundException.html) | Runtime exception thrown when a file system cannot be found. | | [FormatFlagsConversionMismatchException](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/FormatFlagsConversionMismatchException.html) | Unchecked exception thrown when a conversion and flag are incompatible. | | [FormatterClosedException](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/FormatterClosedException.html) | Unchecked exception thrown when the formatter has been closed. | | [HttpRetryException](https://developers.google.com/j2objc/javadoc/jre/reference/java/net/HttpRetryException.html) | Thrown to indicate that a HTTP request needs to be retried but cannot be retried automatically, due to streaming mode being enabled. | | [IllegalAccessException](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/IllegalAccessException.html) | 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. | | [IllegalArgumentException](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/IllegalArgumentException.html) | Thrown to indicate that a method has been passed an illegal or inappropriate argument. | | [IllegalBlockSizeException](https://developers.google.com/j2objc/javadoc/jre/reference/javax/crypto/IllegalBlockSizeException.html) | 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. | | [IllegalBlockingModeException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/channels/IllegalBlockingModeException.html) | Unchecked exception thrown when a blocking-mode-specific operation is invoked upon a channel in the incorrect blocking mode. | | [IllegalChannelGroupException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/channels/IllegalChannelGroupException.html) | Unchecked exception thrown when an attempt is made to open a channel in a group that was not created by the same provider. | | [IllegalCharsetNameException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/charset/IllegalCharsetNameException.html) | Unchecked exception thrown when a string that is not a [legal charset name](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Charset#names) is used as such. | | [IllegalFormatCodePointException](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/IllegalFormatCodePointException.html) | Unchecked exception thrown when a character with an invalid Unicode code point as defined by `https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Character.html#isValidCodePoint(int)` is passed to the `https://developers.google.com/j2objc/javadoc/jre/reference/java/util/Formatter.html`. | | [IllegalFormatConversionException](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/IllegalFormatConversionException.html) | Unchecked exception thrown when the argument corresponding to the format specifier is of an incompatible type. | | [IllegalFormatException](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/IllegalFormatException.html) | Unchecked exception thrown when a format string contains an illegal syntax or a format specifier that is incompatible with the given arguments. | | [IllegalFormatFlagsException](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/IllegalFormatFlagsException.html) | Unchecked exception thrown when an illegal combination flags is given. | | [IllegalFormatPrecisionException](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/IllegalFormatPrecisionException.html) | 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. | | [IllegalFormatWidthException](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/IllegalFormatWidthException.html) | Unchecked exception thrown when the format width is a negative value other than -1 or is otherwise unsupported. | | [IllegalMonitorStateException](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/IllegalMonitorStateException.html) | 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. | | [IllegalSelectorException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/channels/IllegalSelectorException.html) | 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. | | [IllegalStateException](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/IllegalStateException.html) | Signals that a method has been invoked at an illegal or inappropriate time. | | [IllegalThreadStateException](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/IllegalThreadStateException.html) | Thrown to indicate that a thread is not in an appropriate state for the requested operation. | | [IllformedLocaleException](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/IllformedLocaleException.html) | Thrown by methods in `https://developers.google.com/j2objc/javadoc/jre/reference/java/util/Locale.html` and `https://developers.google.com/j2objc/javadoc/jre/reference/java/util/Locale.Builder.html` to indicate that an argument is not a well-formed BCP 47 tag. | | [IncompleteAnnotationException](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/annotation/IncompleteAnnotationException.html) | 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). | | [IndexOutOfBoundsException](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/IndexOutOfBoundsException.html) | 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. | | [InputMismatchException](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/InputMismatchException.html) | 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. | | [InstantiationException](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/InstantiationException.html) | 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. | | [InterruptedByTimeoutException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/channels/InterruptedByTimeoutException.html) | Checked exception received by a thread when a timeout elapses before an asynchronous operation completes. | | [InterruptedIOException](https://developers.google.com/j2objc/javadoc/jre/reference/java/io/InterruptedIOException.html) | Signals that an I/O operation has been interrupted. | | [InvalidAlgorithmParameterException](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/InvalidAlgorithmParameterException.html) | This is the exception for invalid or inappropriate algorithm parameters. | | [InvalidClassException](https://developers.google.com/j2objc/javadoc/jre/reference/java/io/InvalidClassException.html) | Thrown when the Serialization runtime detects one of the following problems with a Class. | | [InvalidKeyException](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/InvalidKeyException.html) | This is the exception for invalid Keys (invalid encoding, wrong length, uninitialized, etc). | | [InvalidKeySpecException](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/spec/InvalidKeySpecException.html) | This is the exception for invalid key specifications. | | [InvalidMarkException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/InvalidMarkException.html) | Unchecked exception thrown when an attempt is made to reset a buffer when its mark is not defined. | | [InvalidObjectException](https://developers.google.com/j2objc/javadoc/jre/reference/java/io/InvalidObjectException.html) | Indicates that one or more deserialized objects failed validation tests. | | [InvalidParameterException](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/InvalidParameterException.html) | This exception, designed for use by the JCA/JCE engine classes, is thrown when an invalid parameter is passed to a method. | | [InvalidParameterSpecException](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/spec/InvalidParameterSpecException.html) | This is the exception for invalid parameter specifications. | | [InvalidPathException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/InvalidPathException.html) | Unchecked exception thrown when path string cannot be converted into a `https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/Path.html` because the path string contains invalid characters, or the path string is invalid for other file system specific reasons. | | [InvalidPropertiesFormatException](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/InvalidPropertiesFormatException.html) | 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 `https://developers.google.com/j2objc/javadoc/jre/reference/java/util/Properties.html` specification. | | [InvocationTargetException](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/reflect/InvocationTargetException.html) | InvocationTargetException is a checked exception that wraps an exception thrown by an invoked method or constructor. | | [JarException](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/jar/JarException.html) | Signals that an error of some sort has occurred while reading from or writing to a JAR file. | | [KeyException](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/KeyException.html) | This is the basic key exception. | | [KeyManagementException](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/KeyManagementException.html) | This is the general key management exception for all operations dealing with key management. | | [KeyStoreException](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/KeyStoreException.html) | This is the generic KeyStore exception. | | [LSException](https://developers.google.com/j2objc/javadoc/jre/reference/org/w3c/dom/ls/LSException.html) | Parser or write operations may throw an `LSException` if the processing is stopped. | | [MalformedInputException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/charset/MalformedInputException.html) | 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. | | [MalformedParameterizedTypeException](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/reflect/MalformedParameterizedTypeException.html) | Thrown when a semantically malformed parameterized type is encountered by a reflective method that needs to instantiate it. | | [MalformedURLException](https://developers.google.com/j2objc/javadoc/jre/reference/java/net/MalformedURLException.html) | Thrown to indicate that a malformed URL has occurred. | | [MissingFormatArgumentException](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/MissingFormatArgumentException.html) | 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. | | [MissingFormatWidthException](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/MissingFormatWidthException.html) | Unchecked exception thrown when the format width is required. | | [MissingResourceException](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/MissingResourceException.html) | Signals that a resource is missing. | | [NegativeArraySizeException](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/NegativeArraySizeException.html) | Thrown if an application tries to create an array with negative size. | | [NoConnectionPendingException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/channels/NoConnectionPendingException.html) | Unchecked exception thrown when the `https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/channels/SocketChannel.html#finishConnect()` method of a `https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/channels/SocketChannel.html` is invoked without first successfully invoking its `https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/channels/SocketChannel.html#connect(java.net.SocketAddress)` method. | | [NoRouteToHostException](https://developers.google.com/j2objc/javadoc/jre/reference/java/net/NoRouteToHostException.html) | Signals that an error occurred while attempting to connect a socket to a remote address and port. | | [NoSuchAlgorithmException](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/NoSuchAlgorithmException.html) | This exception is thrown when a particular cryptographic algorithm is requested but is not available in the environment. | | [NoSuchElementException](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/NoSuchElementException.html) | Thrown by various accessor methods to indicate that the element being requested does not exist. | | [NoSuchFieldException](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/NoSuchFieldException.html) | Signals that the class doesn't have a field of a specified name. | | [NoSuchFileException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/NoSuchFileException.html) | Checked exception thrown when an attempt is made to access a file that does not exist. | | [NoSuchMethodException](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/NoSuchMethodException.html) | Thrown when a particular method cannot be found. | | [NoSuchPaddingException](https://developers.google.com/j2objc/javadoc/jre/reference/javax/crypto/NoSuchPaddingException.html) | This exception is thrown when a particular padding mechanism is requested but is not available in the environment. | | [NoSuchProviderException](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/NoSuchProviderException.html) | This exception is thrown when a particular security provider is requested but is not available in the environment. | | [NonReadableChannelException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/channels/NonReadableChannelException.html) | Unchecked exception thrown when an attempt is made to read from a channel that was not originally opened for reading. | | [NonWritableChannelException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/channels/NonWritableChannelException.html) | Unchecked exception thrown when an attempt is made to write to a channel that was not originally opened for writing. | | [NotActiveException](https://developers.google.com/j2objc/javadoc/jre/reference/java/io/NotActiveException.html) | Thrown when serialization or deserialization is not active. | | [NotDirectoryException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/NotDirectoryException.html) | Checked exception thrown when a file system operation, intended for a directory, fails because the file is not a directory. | | [NotLinkException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/NotLinkException.html) | Checked exception thrown when a file system operation fails because a file is not a symbolic link. | | [NotSerializableException](https://developers.google.com/j2objc/javadoc/jre/reference/java/io/NotSerializableException.html) | Thrown when an instance is required to have a Serializable interface. | | [NotYetBoundException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/channels/NotYetBoundException.html) | Unchecked exception thrown when an attempt is made to invoke an I/O operation upon a server socket channel that is not yet bound. | | [NotYetConnectedException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/channels/NotYetConnectedException.html) | Unchecked exception thrown when an attempt is made to invoke an I/O operation upon a socket channel that is not yet connected. | | [NullPointerException](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/NullPointerException.html) | Thrown when an application attempts to use `null` in a case where an object is required. | | [NumberFormatException](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/NumberFormatException.html) | 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. | | [ObjectStreamException](https://developers.google.com/j2objc/javadoc/jre/reference/java/io/ObjectStreamException.html) | Superclass of all exceptions specific to Object Stream classes. | | [OptionalDataException](https://developers.google.com/j2objc/javadoc/jre/reference/java/io/OptionalDataException.html) | 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. | | [OverlappingFileLockException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/channels/OverlappingFileLockException.html) | 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. | | [PatternSyntaxException](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/regex/PatternSyntaxException.html) | Unchecked exception thrown to indicate a syntax error in a regular-expression pattern. | | [PortUnreachableException](https://developers.google.com/j2objc/javadoc/jre/reference/java/net/PortUnreachableException.html) | Signals that an ICMP Port Unreachable message has been received on a connected datagram. | | [ProtocolException](https://developers.google.com/j2objc/javadoc/jre/reference/java/net/ProtocolException.html) | Thrown to indicate that there is an error in the underlying protocol, such as a TCP error. | | [ProviderException](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/ProviderException.html) | 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. | | [ProviderMismatchException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/ProviderMismatchException.html) | 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. | | [ProviderNotFoundException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/ProviderNotFoundException.html) | Runtime exception thrown when a provider of the required type cannot be found. | | [ReadOnlyBufferException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/ReadOnlyBufferException.html) | Unchecked exception thrown when a content-mutation method such as put or compact is invoked upon a read-only buffer. | | [ReadOnlyFileSystemException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/ReadOnlyFileSystemException.html) | Unchecked exception thrown when an attempt is made to update an object associated with a `https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/FileSystem.html#isReadOnly()` `FileSystem`. | | [ReadPendingException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/channels/ReadPendingException.html) | Unchecked exception thrown when an attempt is made to read from an asynchronous socket channel and a previous read has not completed. | | [RejectedExecutionException](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/concurrent/RejectedExecutionException.html) | Exception thrown by an `https://developers.google.com/j2objc/javadoc/jre/reference/java/util/concurrent/Executor.html` when a task cannot be accepted for execution. | | [SAXNotRecognizedException](https://developers.google.com/j2objc/javadoc/jre/reference/org/xml/sax/SAXNotRecognizedException.html) | Exception class for an unrecognized identifier. | | [SAXNotSupportedException](https://developers.google.com/j2objc/javadoc/jre/reference/org/xml/sax/SAXNotSupportedException.html) | Exception class for an unsupported operation. | | [SAXParseException](https://developers.google.com/j2objc/javadoc/jre/reference/org/xml/sax/SAXParseException.html) | Encapsulate an XML parse error or warning. | | [SQLClientInfoException](https://developers.google.com/j2objc/javadoc/jre/reference/java/sql/SQLClientInfoException.html) | The subclass of `https://developers.google.com/j2objc/javadoc/jre/reference/java/sql/SQLException.html` is thrown when one or more client info properties could not be set on a `Connection`. | | [SQLDataException](https://developers.google.com/j2objc/javadoc/jre/reference/java/sql/SQLDataException.html) | The subclass of `https://developers.google.com/j2objc/javadoc/jre/reference/java/sql/SQLException.html` thrown when the SQLState class value is '*22*', or under vendor-specified conditions. | | [SQLFeatureNotSupportedException](https://developers.google.com/j2objc/javadoc/jre/reference/java/sql/SQLFeatureNotSupportedException.html) | The subclass of `https://developers.google.com/j2objc/javadoc/jre/reference/java/sql/SQLException.html` thrown when the SQLState class value is '*0A*' ( the value is 'zero' A). | | [SQLIntegrityConstraintViolationException](https://developers.google.com/j2objc/javadoc/jre/reference/java/sql/SQLIntegrityConstraintViolationException.html) | The subclass of `https://developers.google.com/j2objc/javadoc/jre/reference/java/sql/SQLException.html` thrown when the SQLState class value is '*23*', or under vendor-specified conditions. | | [SQLInvalidAuthorizationSpecException](https://developers.google.com/j2objc/javadoc/jre/reference/java/sql/SQLInvalidAuthorizationSpecException.html) | The subclass of `https://developers.google.com/j2objc/javadoc/jre/reference/java/sql/SQLException.html` thrown when the SQLState class value is '*28*', or under vendor-specified conditions. | | [SQLNonTransientConnectionException](https://developers.google.com/j2objc/javadoc/jre/reference/java/sql/SQLNonTransientConnectionException.html) | The subclass of `https://developers.google.com/j2objc/javadoc/jre/reference/java/sql/SQLException.html` thrown for the SQLState class value '*08*', or under vendor-specified conditions. | | [SQLNonTransientException](https://developers.google.com/j2objc/javadoc/jre/reference/java/sql/SQLNonTransientException.html) | The subclass of `https://developers.google.com/j2objc/javadoc/jre/reference/java/sql/SQLException.html` thrown when an instance where a retry of the same operation would fail unless the cause of the `SQLException` is corrected. | | [SQLRecoverableException](https://developers.google.com/j2objc/javadoc/jre/reference/java/sql/SQLRecoverableException.html) | The subclass of `https://developers.google.com/j2objc/javadoc/jre/reference/java/sql/SQLException.html` 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. | | [SQLSyntaxErrorException](https://developers.google.com/j2objc/javadoc/jre/reference/java/sql/SQLSyntaxErrorException.html) | The subclass of `https://developers.google.com/j2objc/javadoc/jre/reference/java/sql/SQLException.html` thrown when the SQLState class value is '*42*', or under vendor-specified conditions. | | [SQLTimeoutException](https://developers.google.com/j2objc/javadoc/jre/reference/java/sql/SQLTimeoutException.html) | The subclass of `https://developers.google.com/j2objc/javadoc/jre/reference/java/sql/SQLException.html` thrown when the timeout specified by `Statement` has expired. | | [SQLTransactionRollbackException](https://developers.google.com/j2objc/javadoc/jre/reference/java/sql/SQLTransactionRollbackException.html) | The subclass of `https://developers.google.com/j2objc/javadoc/jre/reference/java/sql/SQLException.html` thrown when the SQLState class value is '*40*', or under vendor-specified conditions. | | [SQLTransientConnectionException](https://developers.google.com/j2objc/javadoc/jre/reference/java/sql/SQLTransientConnectionException.html) | The subclass of `https://developers.google.com/j2objc/javadoc/jre/reference/java/sql/SQLException.html` for the SQLState class value '*08*', or under vendor-specified conditions. | | [SQLTransientException](https://developers.google.com/j2objc/javadoc/jre/reference/java/sql/SQLTransientException.html) | The subclass of `https://developers.google.com/j2objc/javadoc/jre/reference/java/sql/SQLException.html` is thrown in situations where a previoulsy failed operation might be able to succeed when the operation is retried without any intervention by application-level functionality. | | [SQLWarning](https://developers.google.com/j2objc/javadoc/jre/reference/java/sql/SQLWarning.html) | An exception that provides information on database access warnings. | | [SSLException](https://developers.google.com/j2objc/javadoc/jre/reference/javax/net/ssl/SSLException.html) | Indicates some kind of error detected by an SSL subsystem. | | [SSLHandshakeException](https://developers.google.com/j2objc/javadoc/jre/reference/javax/net/ssl/SSLHandshakeException.html) | Indicates that the client and server could not negotiate the desired level of security. | | [SSLKeyException](https://developers.google.com/j2objc/javadoc/jre/reference/javax/net/ssl/SSLKeyException.html) | Reports a bad SSL key. | | [SSLPeerUnverifiedException](https://developers.google.com/j2objc/javadoc/jre/reference/javax/net/ssl/SSLPeerUnverifiedException.html) | Indicates that the peer's identity has not been verified. | | [SSLProtocolException](https://developers.google.com/j2objc/javadoc/jre/reference/javax/net/ssl/SSLProtocolException.html) | Reports an error in the operation of the SSL protocol. | | [SecurityException](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/SecurityException.html) | Thrown by the security manager to indicate a security violation. | | [ShortBufferException](https://developers.google.com/j2objc/javadoc/jre/reference/javax/crypto/ShortBufferException.html) | This exception is thrown when an output buffer provided by the user is too short to hold the operation result. | | [ShutdownChannelGroupException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/channels/ShutdownChannelGroupException.html) | 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. | | [SignatureException](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/SignatureException.html) | This is the generic Signature exception. | | [SocketException](https://developers.google.com/j2objc/javadoc/jre/reference/java/net/SocketException.html) | Thrown to indicate that there is an error creating or accessing a Socket. | | [SocketTimeoutException](https://developers.google.com/j2objc/javadoc/jre/reference/java/net/SocketTimeoutException.html) | Signals that a timeout has occurred on a socket read or accept. | | [StreamCorruptedException](https://developers.google.com/j2objc/javadoc/jre/reference/java/io/StreamCorruptedException.html) | Thrown when control information that was read from an object stream violates internal consistency checks. | | [StringIndexOutOfBoundsException](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/StringIndexOutOfBoundsException.html) | Thrown by `String` methods to indicate that an index is either negative or greater than the size of the string. | | [SyncFailedException](https://developers.google.com/j2objc/javadoc/jre/reference/java/io/SyncFailedException.html) | Signals that a sync operation has failed. | | [TransformerConfigurationException](https://developers.google.com/j2objc/javadoc/jre/reference/javax/xml/transform/TransformerConfigurationException.html) | Indicates a serious configuration error. | | [TypeNotPresentException](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/TypeNotPresentException.html) | 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. | | [UTFDataFormatException](https://developers.google.com/j2objc/javadoc/jre/reference/java/io/UTFDataFormatException.html) | Signals that a malformed string in [modified UTF-8](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/DataInput#modified-utf-8) format has been read in a data input stream or by any class that implements the data input interface. | | [UncheckedIOException](https://developers.google.com/j2objc/javadoc/jre/reference/java/io/UncheckedIOException.html) | Wraps an `https://developers.google.com/j2objc/javadoc/jre/reference/java/io/IOException.html` with an unchecked exception. | | [UndeclaredThrowableException](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/reflect/UndeclaredThrowableException.html) | Thrown by a method invocation on a proxy instance if its invocation handler's `https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/reflect/InvocationHandler.html#invoke(java.lang.Object,%20java.lang.reflect.Method,%20java.lang.Object[])` 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. | | [UnknownFormatConversionException](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/UnknownFormatConversionException.html) | Unchecked exception thrown when an unknown conversion is given. | | [UnknownFormatFlagsException](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/UnknownFormatFlagsException.html) | Unchecked exception thrown when an unknown flag is given. | | [UnknownHostException](https://developers.google.com/j2objc/javadoc/jre/reference/java/net/UnknownHostException.html) | Thrown to indicate that the IP address of a host could not be determined. | | [UnknownServiceException](https://developers.google.com/j2objc/javadoc/jre/reference/java/net/UnknownServiceException.html) | Thrown to indicate that an unknown service exception has occurred. | | [UnmappableCharacterException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/charset/UnmappableCharacterException.html) | Checked exception thrown when an input character (or byte) sequence is valid but cannot be mapped to an output byte (or character) sequence. | | [UnrecoverableEntryException](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/UnrecoverableEntryException.html) | This exception is thrown if an entry in the keystore cannot be recovered. | | [UnrecoverableKeyException](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/UnrecoverableKeyException.html) | This exception is thrown if a key in the keystore cannot be recovered. | | [UnresolvedAddressException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/channels/UnresolvedAddressException.html) | Unchecked exception thrown when an attempt is made to invoke a network operation upon an unresolved socket address. | | [UnsupportedAddressTypeException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/channels/UnsupportedAddressTypeException.html) | Unchecked exception thrown when an attempt is made to bind or connect to a socket address of a type that is not supported. | | [UnsupportedCharsetException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/charset/UnsupportedCharsetException.html) | Unchecked exception thrown when no support is available for a requested charset. | | [UnsupportedEncodingException](https://developers.google.com/j2objc/javadoc/jre/reference/java/io/UnsupportedEncodingException.html) | The Character Encoding is not supported. | | [UnsupportedOperationException](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/UnsupportedOperationException.html) | Thrown to indicate that the requested operation is not supported. | | [UnsupportedTemporalTypeException](https://developers.google.com/j2objc/javadoc/jre/reference/java/time/temporal/UnsupportedTemporalTypeException.html) | UnsupportedTemporalTypeException indicates that a ChronoField or ChronoUnit is not supported for a Temporal class. | | [UserPrincipalNotFoundException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/attribute/UserPrincipalNotFoundException.html) | Checked exception thrown when a lookup of `https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/attribute/UserPrincipal.html` fails because the principal does not exist. | | [WriteAbortedException](https://developers.google.com/j2objc/javadoc/jre/reference/java/io/WriteAbortedException.html) | Signals that one of the ObjectStreamExceptions was thrown during a write operation. | | [WritePendingException](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/channels/WritePendingException.html) | Unchecked exception thrown when an attempt is made to write to an asynchronous socket channel and a previous write has not completed. | | [XPathExpressionException](https://developers.google.com/j2objc/javadoc/jre/reference/javax/xml/xpath/XPathExpressionException.html) | `XPathExpressionException` represents an error in an XPath expression. | | [XPathFactoryConfigurationException](https://developers.google.com/j2objc/javadoc/jre/reference/javax/xml/xpath/XPathFactoryConfigurationException.html) | `XPathFactoryConfigurationException` represents a configuration error in a `XPathFactory` environment. | | [XPathFunctionException](https://developers.google.com/j2objc/javadoc/jre/reference/javax/xml/xpath/XPathFunctionException.html) | `XPathFunctionException` represents an error with an XPath function. | | [ZipException](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/zip/ZipException.html) | Signals that a Zip exception of some sort has occurred. | | [ZoneRulesException](https://developers.google.com/j2objc/javadoc/jre/reference/java/time/zone/ZoneRulesException.html) | Thrown to indicate a problem with time-zone configuration. | |||

The class `Exception` and its subclasses are a form of
`Throwable` that indicates conditions that a reasonable
application might want to catch.

The class `Exception` and any subclasses that are not also
subclasses of `https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/RuntimeException.html` are *checked
exceptions* . Checked exceptions need to be declared in a
method or constructor's `throws` clause if they can be thrown
by the execution of the method or constructor and propagate outside
the method or constructor boundary.

##### See Also

- `https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Error.html`

### Public Constructor Summary

|---|---|
|   | [Exception](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Exception.html#Exception())() Constructs a new exception with `null` as its detail message. |
|   | [Exception](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Exception.html#Exception(java.lang.String))([String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) message) Constructs a new exception with the specified detail message. |
|   | [Exception](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Exception.html#Exception(java.lang.String,%20java.lang.Throwable))([String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) message, [Throwable](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Throwable.html) cause) Constructs a new exception with the specified detail message and cause. |
|   | [Exception](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Exception.html#Exception(java.lang.Throwable))([Throwable](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Throwable.html) 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). |

### Protected Constructor Summary

|---|---|
|   | [Exception](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Exception.html#Exception(java.lang.String,%20java.lang.Throwable,%20boolean,%20boolean))([String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) message, [Throwable](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Throwable.html) 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. |

### Inherited Method Summary

From class [java.lang.Throwable](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Throwable.html)

|---|---|
| synchronized final void | [addSuppressed](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Throwable.html#addSuppressed(java.lang.Throwable))([Throwable](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Throwable.html) exception) Appends the specified exception to the exceptions that were suppressed in order to deliver this exception. |
| synchronized [Throwable](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Throwable.html) | [fillInStackTrace](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Throwable.html#fillInStackTrace())() Fills in the execution stack trace. |
| synchronized [Throwable](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Throwable.html) | [getCause](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Throwable.html#getCause())() Returns the cause of this throwable or `null` if the cause is nonexistent or unknown. |
| [String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) | [getLocalizedMessage](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Throwable.html#getLocalizedMessage())() Creates a localized description of this throwable. |
| [String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) | [getMessage](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Throwable.html#getMessage())() Returns the detail message string of this throwable. |
| StackTraceElement\[\] | [getStackTrace](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Throwable.html#getStackTrace())() Provides programmatic access to the stack trace information printed by `https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Throwable.html#printStackTrace()`. |
| synchronized final [Throwable\[\]](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Throwable.html) | [getSuppressed](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Throwable.html#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. |
| synchronized [Throwable](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Throwable.html) | [initCause](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Throwable.html#initCause(java.lang.Throwable))([Throwable](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Throwable.html) cause) Initializes the *cause* of this throwable to the specified value. |
| void | [printStackTrace](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Throwable.html#printStackTrace())() Prints this throwable and its backtrace to the standard error stream. |
| void | [printStackTrace](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Throwable.html#printStackTrace(java.io.PrintWriter))([PrintWriter](https://developers.google.com/j2objc/javadoc/jre/reference/java/io/PrintWriter.html) s) Prints this throwable and its backtrace to the specified print writer. |
| void | [printStackTrace](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Throwable.html#printStackTrace(java.io.PrintStream))([PrintStream](https://developers.google.com/j2objc/javadoc/jre/reference/java/io/PrintStream.html) s) Prints this throwable and its backtrace to the specified print stream. |
| void | [setStackTrace](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Throwable.html#setStackTrace(java.lang.StackTraceElement[]))(StackTraceElement\[\] stackTrace) Sets the stack trace elements that will be returned by `https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Throwable.html#getStackTrace()` and printed by `https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Throwable.html#printStackTrace()` and related methods. |
| [String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) | [toString](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Throwable.html#toString())() Returns a short description of this throwable. |

From class [java.lang.Object](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html)

|---|---|
| [Object](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html) | [clone](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#clone())() Creates and returns a copy of this `Object`. |
| boolean | [equals](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#equals(java.lang.Object))([Object](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html) obj) Compares this instance with the specified object and indicates if they are equal. |
| void | [finalize](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#finalize())() Invoked when the garbage collector has detected that this instance is no longer reachable. |
| final [Class](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Class.html)\<?\> | [getClass](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#getClass())() Returns the unique instance of `https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Class.html` that represents this object's class. |
| int | [hashCode](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#hashCode())() Returns an integer hash code for this object. |
| final void | [notify](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#notify())() Causes a thread which is waiting on this object's monitor (by means of calling one of the `wait()` methods) to be woken up. |
| final void | [notifyAll](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#notifyAll())() Causes all threads which are waiting on this object's monitor (by means of calling one of the `wait()` methods) to be woken up. |
| [String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) | [toString](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#toString())() Returns a string containing a concise, human-readable description of this object. |
| final void | [wait](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#wait(long,%20int))(long timeout, int nanos) Causes the calling thread to wait until another thread calls the `notify()` or `notifyAll()` method of this object or until the specified timeout expires. |
| final void | [wait](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#wait(long))(long timeout) Causes the calling thread to wait until another thread calls the `notify()` or `notifyAll()` method of this object or until the specified timeout expires. |
| final void | [wait](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#wait())() Causes the calling thread to wait until another thread calls the `notify()` or `notifyAll()` method of this object. |

## Public Constructors

#### public
**Exception**
()

Constructs a new exception with `null` as its detail message.
The cause is not initialized, and may subsequently be initialized by a
call to `https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Throwable.html#initCause(java.lang.Throwable)`.

#### public
**Exception**
([String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) message)

Constructs a new exception with the specified detail message. The
cause is not initialized, and may subsequently be initialized by
a call to `https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Throwable.html#initCause(java.lang.Throwable)`.

##### Parameters

| message | the detail message. The detail message is saved for later retrieval by the `https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Throwable.html#getMessage()` method. |
|---|---|

#### public
**Exception**
([String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) message, [Throwable](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Throwable.html) cause)

Constructs a new exception with the specified detail message and
cause.

Note that the detail message associated with
`cause` is *not* automatically incorporated in
this exception's detail message.

##### Parameters

| message | the detail message (which is saved for later retrieval by the `https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Throwable.html#getMessage()` method). |
| cause | the cause (which is saved for later retrieval by the `https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Throwable.html#getCause()` method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.) |
|---|---|

#### public
**Exception**
([Throwable](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Throwable.html) 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).
This constructor is useful for exceptions that are little more than
wrappers for other throwables (for example, `https://developers.google.com/j2objc/javadoc/jre/reference/java/security/PrivilegedActionException.html`).

##### Parameters

| cause | the cause (which is saved for later retrieval by the `https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Throwable.html#getCause()` method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.) |
|---|---|

## Protected Constructors

#### protected
**Exception**
([String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) message, [Throwable](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Throwable.html) 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.

##### Parameters

| message | the detail message. |
| cause | the cause. (A `null` value is permitted, and indicates that the cause is nonexistent or unknown.) |
| enableSuppression | whether or not suppression is enabled or disabled |
| writableStackTrace | whether or not the stack trace should be writable |
|---|---|