Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels) Summary: [Ctors](https://developer.android.com/reference/java/lang/RuntimeException#pubctors) \| [Protected Ctors](https://developer.android.com/reference/java/lang/RuntimeException#proctors) \| [Inherited Methods](https://developer.android.com/reference/java/lang/RuntimeException#inhmethods)

# RuntimeException


`
public


class
RuntimeException
`


`


`

`


`

`

extends https://developer.android.com/reference/java/lang/Exception


`

`


`

|---|---|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object) ||||
| ↳ | [java.lang.Throwable](https://developer.android.com/reference/java/lang/Throwable) |||
|   | ↳ | [java.lang.Exception](https://developer.android.com/reference/java/lang/Exception) ||
|   |   | ↳ | java.lang.RuntimeException |

Known direct subclasses [AconfigStorageReadException](https://developer.android.com/reference/android/os/flagging/AconfigStorageReadException), [ActivityNotFoundException](https://developer.android.com/reference/android/content/ActivityNotFoundException), [AndroidRuntimeException](https://developer.android.com/reference/android/util/AndroidRuntimeException), [AnnotationTypeMismatchException](https://developer.android.com/reference/java/lang/annotation/AnnotationTypeMismatchException), [ArithmeticException](https://developer.android.com/reference/java/lang/ArithmeticException), [ArrayStoreException](https://developer.android.com/reference/java/lang/ArrayStoreException), [BufferOverflowException](https://developer.android.com/reference/java/nio/BufferOverflowException), [BufferUnderflowException](https://developer.android.com/reference/java/nio/BufferUnderflowException), [CallEndpointException](https://developer.android.com/reference/android/telecom/CallEndpointException), [CallException](https://developer.android.com/reference/android/telecom/CallException), [ClassCastException](https://developer.android.com/reference/java/lang/ClassCastException), [CompanionException](https://developer.android.com/reference/android/companion/CompanionException), [CompletionException](https://developer.android.com/reference/java/util/concurrent/CompletionException), [ConcurrentModificationException](https://developer.android.com/reference/java/util/ConcurrentModificationException), [CursorWindowAllocationException](https://developer.android.com/reference/android/database/CursorWindowAllocationException), and 61 others. [AconfigStorageReadException](https://developer.android.com/reference/android/os/flagging/AconfigStorageReadException) Exception thrown when an error occurs while reading from Aconfig Storage. [ActivityNotFoundException](https://developer.android.com/reference/android/content/ActivityNotFoundException) This exception is thrown when a call to `https://developer.android.com/reference/android/content/Context#startActivity(android.content.Intent)` or one of its variants fails because an Activity can not be found to execute the given Intent. [AndroidRuntimeException](https://developer.android.com/reference/android/util/AndroidRuntimeException) Base class for all unchecked exceptions thrown by the Android frameworks. [AnnotationTypeMismatchException](https://developer.android.com/reference/java/lang/annotation/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). [ArithmeticException](https://developer.android.com/reference/java/lang/ArithmeticException) Thrown when an exceptional arithmetic condition has occurred. [ArrayStoreException](https://developer.android.com/reference/java/lang/ArrayStoreException) Thrown to indicate that an attempt has been made to store the wrong type of object into an array of objects. [BufferOverflowException](https://developer.android.com/reference/java/nio/BufferOverflowException) Unchecked exception thrown when a relative *put* operation reaches the target buffer's limit. [BufferUnderflowException](https://developer.android.com/reference/java/nio/BufferUnderflowException) Unchecked exception thrown when a relative *get* operation reaches the source buffer's limit. [CallEndpointException](https://developer.android.com/reference/android/telecom/CallEndpointException) This class represents a set of exceptions that can occur when requesting a `https://developer.android.com/reference/android/telecom/CallEndpoint` change. [CallException](https://developer.android.com/reference/android/telecom/CallException) This class defines exceptions that can be thrown when using Telecom APIs with `https://developer.android.com/reference/android/os/OutcomeReceiver`s. [ClassCastException](https://developer.android.com/reference/java/lang/ClassCastException) Thrown to indicate that the code has attempted to cast an object to a subclass of which it is not an instance. [CompanionException](https://developer.android.com/reference/android/companion/CompanionException) `CompanionException` can be thrown during the companion system data transfer process. [CompletionException](https://developer.android.com/reference/java/util/concurrent/CompletionException) Exception thrown when an error or other exception is encountered in the course of completing a result or task. [ConcurrentModificationException](https://developer.android.com/reference/java/util/ConcurrentModificationException) This exception may be thrown by methods that have detected concurrent modification of an object when such modification is not permissible. [CursorWindowAllocationException](https://developer.android.com/reference/android/database/CursorWindowAllocationException) This exception is thrown when a CursorWindow couldn't be allocated, most probably due to memory not being available. [DOMException](https://developer.android.com/reference/org/w3c/dom/DOMException) 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). [DateTimeException](https://developer.android.com/reference/java/time/DateTimeException) Exception used to indicate a problem while calculating a date-time. [DeviceNotAssociatedException](https://developer.android.com/reference/android/companion/DeviceNotAssociatedException) An exception for a case when a given device was not `https://developer.android.com/reference/android/companion/CompanionDeviceManager#associate(android.companion.AssociationRequest,%20android.companion.CompanionDeviceManager.Callback,%20android.os.Handler)` to the calling app. [EmptyStackException](https://developer.android.com/reference/java/util/EmptyStackException) Thrown by methods in the `Stack` class to indicate that the stack is empty. [EnumConstantNotPresentException](https://developer.android.com/reference/java/lang/EnumConstantNotPresentException) Thrown when an application tries to access an enum constant by name and the enum type contains no constant with the specified name. [FileSystemAlreadyExistsException](https://developer.android.com/reference/java/nio/file/FileSystemAlreadyExistsException) Runtime exception thrown when an attempt is made to create a file system that already exists. [FileSystemNotFoundException](https://developer.android.com/reference/java/nio/file/FileSystemNotFoundException) Runtime exception thrown when a file system cannot be found. [FileUriExposedException](https://developer.android.com/reference/android/os/FileUriExposedException) The exception that may be thrown when an application exposes a `file://` `https://developer.android.com/reference/android/net/Uri` to another app. [GLException](https://developer.android.com/reference/android/opengl/GLException) An exception class for OpenGL errors. [HealthConnectException](https://developer.android.com/reference/android/health/connect/HealthConnectException) Class representing health connect exceptions. [ICUUncheckedIOException](https://developer.android.com/reference/android/icu/util/ICUUncheckedIOException) Unchecked version of `https://developer.android.com/reference/java/io/IOException`. [IllegalArgumentException](https://developer.android.com/reference/java/lang/IllegalArgumentException) Thrown to indicate that a method has been passed an illegal or inappropriate argument. [IllegalCallerException](https://developer.android.com/reference/java/lang/IllegalCallerException) Thrown to indicate that a method has been called by an inappropriate caller. [IllegalMonitorStateException](https://developer.android.com/reference/java/lang/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. [IllegalStateException](https://developer.android.com/reference/java/lang/IllegalStateException) Signals that a method has been invoked at an illegal or inappropriate time. [IllformedLocaleException](https://developer.android.com/reference/java/util/IllformedLocaleException) Thrown by methods in `https://developer.android.com/reference/java/util/Locale` and `https://developer.android.com/reference/java/util/Locale.Builder` to indicate that an argument is not a well-formed BCP 47 tag. [IncompleteAnnotationException](https://developer.android.com/reference/java/lang/annotation/IncompleteAnnotationException) Thrown to indicate that a program has attempted to access an element of an annotation interface that was added to the annotation interface definition after the annotation was compiled (or serialized). [IndexOutOfBoundsException](https://developer.android.com/reference/java/lang/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. [InflateException](https://developer.android.com/reference/android/view/InflateException) This exception is thrown by an inflater on error conditions. [InspectionCompanion.UninitializedPropertyMapException](https://developer.android.com/reference/android/view/inspector/InspectionCompanion.UninitializedPropertyMapException) Thrown by `https://developer.android.com/reference/android/view/inspector/InspectionCompanion#readProperties(T,%20android.view.inspector.PropertyReader)` if called before `https://developer.android.com/reference/android/view/inspector/InspectionCompanion#mapProperties(android.view.inspector.PropertyMapper)`. [LSException](https://developer.android.com/reference/org/w3c/dom/ls/LSException) Parser or write operations may throw an `LSException` if the processing is stopped. [MalformedParameterizedTypeException](https://developer.android.com/reference/java/lang/reflect/MalformedParameterizedTypeException) Thrown when a semantically malformed parameterized type is encountered by a reflective method that needs to instantiate it. [MalformedParametersException](https://developer.android.com/reference/java/lang/reflect/MalformedParametersException) Thrown when `https://developer.android.com/reference/java/lang/reflect/Executable#getParameters()` attempts to read method parameters from a class file and determines that one or more parameters are malformed. [MatchException](https://developer.android.com/reference/java/lang/MatchException) Thrown to indicate an unexpected failure in pattern matching. [MediaCodec.CryptoException](https://developer.android.com/reference/android/media/MediaCodec.CryptoException) Thrown when a crypto error occurs while queueing a secure input buffer. [MediaCodec.IncompatibleWithBlockModelException](https://developer.android.com/reference/android/media/MediaCodec.IncompatibleWithBlockModelException) Thrown when the codec is configured for block model and an incompatible API is called. [MediaCodec.InvalidBufferFlagsException](https://developer.android.com/reference/android/media/MediaCodec.InvalidBufferFlagsException) Thrown when a buffer is marked with an invalid combination of flags (e.g. both `https://developer.android.com/reference/android/media/MediaCodec#BUFFER_FLAG_END_OF_STREAM` and `https://developer.android.com/reference/android/media/MediaCodec#BUFFER_FLAG_DECODE_ONLY`) [MediaDrm.SessionException](https://developer.android.com/reference/android/media/MediaDrm.SessionException) `https://developer.android.com/reference/android/media/MediaDrm.SessionException` is a misnomer because it may occur in methods **without** a session context. [MissingResourceException](https://developer.android.com/reference/java/util/MissingResourceException) Signals that a resource is missing. [NegativeArraySizeException](https://developer.android.com/reference/java/lang/NegativeArraySizeException) Thrown if an application tries to create an array with negative size. [NetworkOnMainThreadException](https://developer.android.com/reference/android/os/NetworkOnMainThreadException) The exception that is thrown when an application attempts to perform a networking operation on its main thread. [NoSuchElementException](https://developer.android.com/reference/java/util/NoSuchElementException) Thrown by various accessor methods to indicate that the element being requested does not exist. [NoSuchPropertyException](https://developer.android.com/reference/android/util/NoSuchPropertyException) Thrown when code requests a `https://developer.android.com/reference/android/util/Property` on a class that does not expose the appropriate method or field. [NullPointerException](https://developer.android.com/reference/java/lang/NullPointerException) Thrown when an application attempts to use `null` in a case where an object is required. [OperationCanceledException](https://developer.android.com/reference/android/os/OperationCanceledException) An exception type that is thrown when an operation in progress is canceled. [ParcelFormatException](https://developer.android.com/reference/android/os/ParcelFormatException) The contents of a Parcel (usually during unmarshalling) does not contain the expected data. [ParseException](https://developer.android.com/reference/android/net/ParseException) Thrown when parsing failed. [PropertyMapper.PropertyConflictException](https://developer.android.com/reference/android/view/inspector/PropertyMapper.PropertyConflictException) Thrown from a map method if a property name is already mapped as different type. [PropertyReader.PropertyTypeMismatchException](https://developer.android.com/reference/android/view/inspector/PropertyReader.PropertyTypeMismatchException) Thrown if a client calls a typed read method for a property of a different type. [ProviderException](https://developer.android.com/reference/java/security/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. [ProviderNotFoundException](https://developer.android.com/reference/java/nio/file/ProviderNotFoundException) Runtime exception thrown when a provider of the required type cannot be found. [QueryLocationException](https://developer.android.com/reference/android/telecom/QueryLocationException) This class represents a set of exceptions that can occur when requesting a `https://developer.android.com/reference/android/telecom/Connection#queryLocationForEmergency(long,%20java.lang.String,%20java.util.concurrent.Executor,%20android.os.OutcomeReceiver<android.location.Location,android.telecom.QueryLocationException>)` [RSRuntimeException](https://developer.android.com/reference/android/renderscript/RSRuntimeException) *This class was deprecated
in API level 31.
Renderscript has been deprecated in API level 31. Please refer to the [migration
guide](https://developer.android.com/guide/topics/renderscript/migration-guide) for the proposed alternatives.* [RejectedExecutionException](https://developer.android.com/reference/java/util/concurrent/RejectedExecutionException) Exception thrown by an `https://developer.android.com/reference/java/util/concurrent/Executor` when a task cannot be accepted for execution. [RemoteViews.ActionException](https://developer.android.com/reference/android/widget/RemoteViews.ActionException) Exception to send when something goes wrong executing an action [Resources.NotFoundException](https://developer.android.com/reference/android/content/res/Resources.NotFoundException) This exception is thrown by the resource APIs when a requested resource can not be found. [SQLException](https://developer.android.com/reference/android/database/SQLException) An exception that indicates there was an error with SQL parsing or execution. [SecurityException](https://developer.android.com/reference/java/lang/SecurityException) Thrown by the security manager to indicate a security violation. [StaleDataException](https://developer.android.com/reference/android/database/StaleDataException) This exception is thrown when a Cursor contains stale data and must be requeried before being used again. [Surface.OutOfResourcesException](https://developer.android.com/reference/android/view/Surface.OutOfResourcesException) Exception thrown when a Canvas couldn't be locked with `https://developer.android.com/reference/android/view/Surface#lockCanvas(android.graphics.Rect)`, or when a SurfaceTexture could not successfully be allocated. [SurfaceHolder.BadSurfaceTypeException](https://developer.android.com/reference/android/view/SurfaceHolder.BadSurfaceTypeException) Exception that is thrown from `https://developer.android.com/reference/android/view/SurfaceHolder#lockCanvas()` when called on a Surface whose type is SURFACE_TYPE_PUSH_BUFFERS. [TimeFormatException](https://developer.android.com/reference/android/util/TimeFormatException) [TypeNotPresentException](https://developer.android.com/reference/java/lang/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. [UncheckedIOException](https://developer.android.com/reference/java/io/UncheckedIOException) Wraps an `https://developer.android.com/reference/java/io/IOException` with an unchecked exception. [UndeclaredThrowableException](https://developer.android.com/reference/java/lang/reflect/UndeclaredThrowableException) Thrown by a method invocation on a proxy instance if its invocation handler's `https://developer.android.com/reference/java/lang/reflect/InvocationHandler#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. [UnsupportedOperationException](https://developer.android.com/reference/java/lang/UnsupportedOperationException) Thrown to indicate that the requested operation is not supported. [UserManager.UserOperationException](https://developer.android.com/reference/android/os/UserManager.UserOperationException) Thrown to indicate user operation failed. [WindowManager.BadTokenException](https://developer.android.com/reference/android/view/WindowManager.BadTokenException) Exception that is thrown when trying to add view whose `https://developer.android.com/reference/android/view/WindowManager.LayoutParams` `https://developer.android.com/reference/android/view/WindowManager.LayoutParams#token` is invalid. [WindowManager.InvalidDisplayException](https://developer.android.com/reference/android/view/WindowManager.InvalidDisplayException) Exception that is thrown when calling `https://developer.android.com/reference/android/view/ViewManager#addView(android.view.View,%20android.view.ViewGroup.LayoutParams)` to a secondary display that cannot be found. [WrongMethodTypeException](https://developer.android.com/reference/java/lang/invoke/WrongMethodTypeException) Thrown to indicate that code has attempted to call a method handle via the wrong method type. [WrongThreadException](https://developer.android.com/reference/java/lang/WrongThreadException) Thrown to indicate that a method has been called on the wrong thread. Known indirect subclasses [AcceptPendingException](https://developer.android.com/reference/java/nio/channels/AcceptPendingException), [AccessControlException](https://developer.android.com/reference/java/security/AccessControlException), [AlreadyBoundException](https://developer.android.com/reference/java/nio/channels/AlreadyBoundException), [AlreadyConnectedException](https://developer.android.com/reference/java/nio/channels/AlreadyConnectedException), [ArrayIndexOutOfBoundsException](https://developer.android.com/reference/java/lang/ArrayIndexOutOfBoundsException), [AuthenticationRequiredException](https://developer.android.com/reference/android/app/AuthenticationRequiredException), [BackendBusyException](https://developer.android.com/reference/android/security/keystore/BackendBusyException), [BackgroundServiceStartNotAllowedException](https://developer.android.com/reference/android/app/BackgroundServiceStartNotAllowedException), [BadParcelableException](https://developer.android.com/reference/android/os/BadParcelableException), [CancellationException](https://developer.android.com/reference/java/util/concurrent/CancellationException), [CancelledKeyException](https://developer.android.com/reference/java/nio/channels/CancelledKeyException), [ClosedDirectoryStreamException](https://developer.android.com/reference/java/nio/file/ClosedDirectoryStreamException), [ClosedFileSystemException](https://developer.android.com/reference/java/nio/file/ClosedFileSystemException), [ClosedSelectorException](https://developer.android.com/reference/java/nio/channels/ClosedSelectorException), [ClosedWatchServiceException](https://developer.android.com/reference/java/nio/file/ClosedWatchServiceException), and 88 others. [AcceptPendingException](https://developer.android.com/reference/java/nio/channels/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. [AccessControlException](https://developer.android.com/reference/java/security/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.


[AlreadyBoundException](https://developer.android.com/reference/java/nio/channels/AlreadyBoundException) Unchecked exception thrown when an attempt is made to bind the socket a network oriented channel that is already bound. [AlreadyConnectedException](https://developer.android.com/reference/java/nio/channels/AlreadyConnectedException) Unchecked exception thrown when an attempt is made to connect a `https://developer.android.com/reference/java/nio/channels/SocketChannel` that is already connected. [ArrayIndexOutOfBoundsException](https://developer.android.com/reference/java/lang/ArrayIndexOutOfBoundsException) Thrown to indicate that an array has been accessed with an illegal index. [AuthenticationRequiredException](https://developer.android.com/reference/android/app/AuthenticationRequiredException) Specialization of `https://developer.android.com/reference/java/lang/SecurityException` that is thrown when authentication is needed from the end user before viewing the content. [BackendBusyException](https://developer.android.com/reference/android/security/keystore/BackendBusyException) Indicates a transient error that prevented a key operation from being created. [BackgroundServiceStartNotAllowedException](https://developer.android.com/reference/android/app/BackgroundServiceStartNotAllowedException) Exception thrown when an app tries to start a background `https://developer.android.com/reference/android/app/Service` when it's not allowed to do so. [BadParcelableException](https://developer.android.com/reference/android/os/BadParcelableException) Exception thrown when a `https://developer.android.com/reference/android/os/Parcelable` is malformed or otherwise invalid. [CancellationException](https://developer.android.com/reference/java/util/concurrent/CancellationException) Exception indicating that the result of a value-producing task, such as a `https://developer.android.com/reference/java/util/concurrent/FutureTask`, cannot be retrieved because the task was cancelled. [CancelledKeyException](https://developer.android.com/reference/java/nio/channels/CancelledKeyException) Unchecked exception thrown when an attempt is made to use a selection key that is no longer valid. [ClosedDirectoryStreamException](https://developer.android.com/reference/java/nio/file/ClosedDirectoryStreamException) Unchecked exception thrown when an attempt is made to invoke an operation on a directory stream that is closed. [ClosedFileSystemException](https://developer.android.com/reference/java/nio/file/ClosedFileSystemException) Unchecked exception thrown when an attempt is made to invoke an operation on a file and the file system is closed. [ClosedSelectorException](https://developer.android.com/reference/java/nio/channels/ClosedSelectorException) Unchecked exception thrown when an attempt is made to invoke an I/O operation upon a closed selector. [ClosedWatchServiceException](https://developer.android.com/reference/java/nio/file/ClosedWatchServiceException) Unchecked exception thrown when an attempt is made to invoke an operation on a watch service that is closed. [ConnectionPendingException](https://developer.android.com/reference/java/nio/channels/ConnectionPendingException) Unchecked exception thrown when an attempt is made to connect a `https://developer.android.com/reference/java/nio/channels/SocketChannel` for which a non-blocking connection operation is already in progress. [CursorIndexOutOfBoundsException](https://developer.android.com/reference/android/database/CursorIndexOutOfBoundsException) An exception indicating that a cursor is out of bounds. [DateTimeParseException](https://developer.android.com/reference/java/time/format/DateTimeParseException) An exception thrown when an error occurs during parsing. [DirectoryIteratorException](https://developer.android.com/reference/java/nio/file/DirectoryIteratorException) Runtime exception thrown if an I/O error is encountered when iterating over the entries in a directory. [DuplicateFormatFlagsException](https://developer.android.com/reference/java/util/DuplicateFormatFlagsException) Unchecked exception thrown when duplicate flags are provided in the format specifier. [ForegroundServiceStartNotAllowedException](https://developer.android.com/reference/android/app/ForegroundServiceStartNotAllowedException) Exception thrown when an app tries to start a foreground `https://developer.android.com/reference/android/app/Service` when it's not allowed to do so. [ForegroundServiceTypeException](https://developer.android.com/reference/android/app/ForegroundServiceTypeException) Base exception thrown when an app tries to start a foreground `https://developer.android.com/reference/android/app/Service` without a valid type. [FormatFlagsConversionMismatchException](https://developer.android.com/reference/java/util/FormatFlagsConversionMismatchException) Unchecked exception thrown when a conversion and flag are incompatible. [FormatterClosedException](https://developer.android.com/reference/java/util/FormatterClosedException) Unchecked exception thrown when the formatter has been closed. [Fragment.InstantiationException](https://developer.android.com/reference/android/app/Fragment.InstantiationException) *This class was deprecated
in API level 28.
Use `https://developer.android.com/reference/androidx/fragment/app/Fragment.InstantiationException.html`* [IllegalBlockingModeException](https://developer.android.com/reference/java/nio/channels/IllegalBlockingModeException) Unchecked exception thrown when a blocking-mode-specific operation is invoked upon a channel in the incorrect blocking mode. [IllegalChannelGroupException](https://developer.android.com/reference/java/nio/channels/IllegalChannelGroupException) 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://developer.android.com/reference/java/nio/charset/IllegalCharsetNameException) Unchecked exception thrown when a string that is not a [legal charset name](https://developer.android.com/reference/java/lang/Charset#names) is used as such. [IllegalFormatCodePointException](https://developer.android.com/reference/java/util/IllegalFormatCodePointException) Unchecked exception thrown when a character with an invalid Unicode code point as defined by `https://developer.android.com/reference/java/lang/Character#isValidCodePoint(int)` is passed to the `https://developer.android.com/reference/java/util/Formatter`. [IllegalFormatConversionException](https://developer.android.com/reference/java/util/IllegalFormatConversionException) Unchecked exception thrown when the argument corresponding to the format specifier is of an incompatible type. [IllegalFormatException](https://developer.android.com/reference/java/util/IllegalFormatException) Unchecked exception thrown when a format string contains an illegal syntax or a format specifier that is incompatible with the given arguments. [IllegalFormatFlagsException](https://developer.android.com/reference/java/util/IllegalFormatFlagsException) Unchecked exception thrown when an illegal combination flags is given. [IllegalFormatPrecisionException](https://developer.android.com/reference/java/util/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. [IllegalFormatWidthException](https://developer.android.com/reference/java/util/IllegalFormatWidthException) Unchecked exception thrown when the format width is a negative value other than `-1` or is otherwise unsupported. [IllegalSelectorException](https://developer.android.com/reference/java/nio/channels/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. [IllegalThreadStateException](https://developer.android.com/reference/java/lang/IllegalThreadStateException) Thrown to indicate that a thread is not in an appropriate state for the requested operation. [InfeasibleActivityOptionsException](https://developer.android.com/reference/android/app/InfeasibleActivityOptionsException) This exception is thrown when a call to `https://developer.android.com/reference/android/content/Context#startActivity(android.content.Intent)` or one of its variants fails because it is not possible to satisfy requirements specified in the `https://developer.android.com/reference/android/app/ActivityOptions` passed in the `https://developer.android.com/reference/android/content/Context#startActivity(android.content.Intent)` call. [InlineExecutionProhibitedException](https://developer.android.com/reference/android/net/http/InlineExecutionProhibitedException) Thrown when an executor runs a submitted runnable inline in `https://developer.android.com/reference/java/util/concurrent/Executor#execute(java.lang.Runnable)` and `https://developer.android.com/reference/android/net/http/UrlRequest.Builder#setDirectExecutorAllowed(boolean)` was not called. [InputMismatchException](https://developer.android.com/reference/java/util/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. [InvalidForegroundServiceTypeException](https://developer.android.com/reference/android/app/InvalidForegroundServiceTypeException) Exception thrown when an app tries to start a foreground `https://developer.android.com/reference/android/app/Service` with an invalid type. [InvalidMarkException](https://developer.android.com/reference/java/nio/InvalidMarkException) Unchecked exception thrown when an attempt is made to reset a buffer when its mark is not defined. [InvalidParameterException](https://developer.android.com/reference/java/security/InvalidParameterException) This exception, designed for use by the JCA/JCE engine classes, is thrown when an invalid parameter is passed to a method. [InvalidPathException](https://developer.android.com/reference/java/nio/file/InvalidPathException) Unchecked exception thrown when path string cannot be converted into a `https://developer.android.com/reference/java/nio/file/Path` because the path string contains invalid characters, or the path string is invalid for other file system specific reasons. [KeyCharacterMap.UnavailableException](https://developer.android.com/reference/android/view/KeyCharacterMap.UnavailableException) Thrown by `https://developer.android.com/reference/android/view/KeyCharacterMap#load(int)` when a key character map could not be loaded. [LimitExceededException](https://developer.android.com/reference/android/os/LimitExceededException) Indicates that the app has exceeded a limit set by the System. [MediaCasStateException](https://developer.android.com/reference/android/media/MediaCasStateException) Base class for MediaCas runtime exceptions [MediaCodec.CodecException](https://developer.android.com/reference/android/media/MediaCodec.CodecException) Thrown when an internal codec error occurs. [MediaDrm.MediaDrmStateException](https://developer.android.com/reference/android/media/MediaDrm.MediaDrmStateException) Thrown when a general failure occurs during a MediaDrm operation. [MediaDrmResetException](https://developer.android.com/reference/android/media/MediaDrmResetException) This exception is thrown when the MediaDrm instance has become unusable due to a restart of the mediaserver process. [MissingForegroundServiceTypeException](https://developer.android.com/reference/android/app/MissingForegroundServiceTypeException) Exception thrown when an app tries to start a foreground `https://developer.android.com/reference/android/app/Service` without a type. [MissingFormatArgumentException](https://developer.android.com/reference/java/util/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. [MissingFormatWidthException](https://developer.android.com/reference/java/util/MissingFormatWidthException) Unchecked exception thrown when the format width is required. [NoConnectionPendingException](https://developer.android.com/reference/java/nio/channels/NoConnectionPendingException) Unchecked exception thrown when the `https://developer.android.com/reference/java/nio/channels/SocketChannel#finishConnect()` method of a `https://developer.android.com/reference/java/nio/channels/SocketChannel` is invoked without first successfully invoking its `https://developer.android.com/reference/java/nio/channels/SocketChannel#connect(java.net.SocketAddress)` method. [NonReadableChannelException](https://developer.android.com/reference/java/nio/channels/NonReadableChannelException) Unchecked exception thrown when an attempt is made to read from a channel that was not originally opened for reading. [NonWritableChannelException](https://developer.android.com/reference/java/nio/channels/NonWritableChannelException) Unchecked exception thrown when an attempt is made to write to a channel that was not originally opened for writing. [NotYetBoundException](https://developer.android.com/reference/java/nio/channels/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. [NotYetConnectedException](https://developer.android.com/reference/java/nio/channels/NotYetConnectedException) Unchecked exception thrown when an attempt is made to invoke an I/O operation upon a socket channel that is not yet connected. [NumberFormatException](https://developer.android.com/reference/java/lang/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. [OverlappingFileLockException](https://developer.android.com/reference/java/nio/channels/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. [PatternSyntaxException](https://developer.android.com/reference/java/util/regex/PatternSyntaxException) Unchecked exception thrown to indicate a syntax error in a regular-expression pattern. [ProviderMismatchException](https://developer.android.com/reference/java/nio/file/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. [RSDriverException](https://developer.android.com/reference/android/renderscript/RSDriverException) *This class was deprecated
in API level 31.
Renderscript has been deprecated in API level 31. Please refer to the [migration
guide](https://developer.android.com/guide/topics/renderscript/migration-guide) for the proposed alternatives.* [RSIllegalArgumentException](https://developer.android.com/reference/android/renderscript/RSIllegalArgumentException) *This class was deprecated
in API level 31.
Renderscript has been deprecated in API level 31. Please refer to the [migration
guide](https://developer.android.com/guide/topics/renderscript/migration-guide) for the proposed alternatives.* [RSInvalidStateException](https://developer.android.com/reference/android/renderscript/RSInvalidStateException) *This class was deprecated
in API level 31.
Renderscript has been deprecated in API level 31. Please refer to the [migration
guide](https://developer.android.com/guide/topics/renderscript/migration-guide) for the proposed alternatives.* [ReadOnlyBufferException](https://developer.android.com/reference/java/nio/ReadOnlyBufferException) Unchecked exception thrown when a content-mutation method such as put or compact is invoked upon a read-only buffer. [ReadOnlyFileSystemException](https://developer.android.com/reference/java/nio/file/ReadOnlyFileSystemException) Unchecked exception thrown when an attempt is made to update an object associated with a `https://developer.android.com/reference/java/nio/file/FileSystem#isReadOnly()` `FileSystem`. [ReadPendingException](https://developer.android.com/reference/java/nio/channels/ReadPendingException) Unchecked exception thrown when an attempt is made to read from an asynchronous socket channel and a previous read has not completed. [ReceiverCallNotAllowedException](https://developer.android.com/reference/android/content/ReceiverCallNotAllowedException) This exception is thrown from `https://developer.android.com/reference/android/content/Context#registerReceiver(android.content.BroadcastReceiver,%20android.content.IntentFilter)` and `https://developer.android.com/reference/android/content/Context#bindService(android.content.Intent,%20android.content.Context.BindServiceFlags,%20java.util.concurrent.Executor,%20android.content.ServiceConnection)` when these methods are being used from an `https://developer.android.com/reference/android/content/BroadcastReceiver` component. [RecoverableSecurityException](https://developer.android.com/reference/android/app/RecoverableSecurityException) Specialization of `https://developer.android.com/reference/java/lang/SecurityException` that contains additional information about how to involve the end user to recover from the exception. [SQLiteAbortException](https://developer.android.com/reference/android/database/sqlite/SQLiteAbortException) An exception that indicates that the SQLite program was aborted. [SQLiteAccessPermException](https://developer.android.com/reference/android/database/sqlite/SQLiteAccessPermException) This exception class is used when sqlite can't access the database file due to lack of permissions on the file. [SQLiteBindOrColumnIndexOutOfRangeException](https://developer.android.com/reference/android/database/sqlite/SQLiteBindOrColumnIndexOutOfRangeException) Thrown if the bind or column parameter index is out of range. [SQLiteBlobTooBigException](https://developer.android.com/reference/android/database/sqlite/SQLiteBlobTooBigException) [SQLiteCantOpenDatabaseException](https://developer.android.com/reference/android/database/sqlite/SQLiteCantOpenDatabaseException) [SQLiteConstraintException](https://developer.android.com/reference/android/database/sqlite/SQLiteConstraintException) An exception that indicates that an integrity constraint was violated. [SQLiteDatabaseCorruptException](https://developer.android.com/reference/android/database/sqlite/SQLiteDatabaseCorruptException) An exception that indicates that the SQLite database file is corrupt. [SQLiteDatabaseLockedException](https://developer.android.com/reference/android/database/sqlite/SQLiteDatabaseLockedException) Thrown if the database engine was unable to acquire the database locks it needs to do its job. [SQLiteDatatypeMismatchException](https://developer.android.com/reference/android/database/sqlite/SQLiteDatatypeMismatchException) [SQLiteDiskIOException](https://developer.android.com/reference/android/database/sqlite/SQLiteDiskIOException) Indicates that an IO error occurred while accessing the SQLite database file. [SQLiteDoneException](https://developer.android.com/reference/android/database/sqlite/SQLiteDoneException) An exception that indicates that the SQLite program is done. [SQLiteException](https://developer.android.com/reference/android/database/sqlite/SQLiteException) A SQLite exception that indicates there was an error with SQL parsing or execution. [SQLiteFullException](https://developer.android.com/reference/android/database/sqlite/SQLiteFullException) An exception that indicates that the SQLite database is full. [SQLiteMisuseException](https://developer.android.com/reference/android/database/sqlite/SQLiteMisuseException) This error can occur if the application creates a SQLiteStatement object and allows multiple threads in the application use it at the same time. [SQLiteOutOfMemoryException](https://developer.android.com/reference/android/database/sqlite/SQLiteOutOfMemoryException) [SQLiteReadOnlyDatabaseException](https://developer.android.com/reference/android/database/sqlite/SQLiteReadOnlyDatabaseException) [SQLiteTableLockedException](https://developer.android.com/reference/android/database/sqlite/SQLiteTableLockedException) [SecureKeyImportUnavailableException](https://developer.android.com/reference/android/security/keystore/SecureKeyImportUnavailableException) Indicates that the Keystore does not support securely importing wrapped keys. [ServiceStartNotAllowedException](https://developer.android.com/reference/android/app/ServiceStartNotAllowedException) Exception thrown when an app tries to start a `https://developer.android.com/reference/android/app/Service` when it's not allowed to do so. [ShutdownChannelGroupException](https://developer.android.com/reference/java/nio/channels/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. [SkeletonSyntaxException](https://developer.android.com/reference/android/icu/number/SkeletonSyntaxException) Exception used for illegal number skeleton strings. [StartForegroundCalledOnStoppedServiceException](https://developer.android.com/reference/android/app/StartForegroundCalledOnStoppedServiceException) Exception thrown when `https://developer.android.com/reference/android/app/Service#startForeground(int,%20android.app.Notification)` is called on a service that's not actually started. [StringIndexOutOfBoundsException](https://developer.android.com/reference/java/lang/StringIndexOutOfBoundsException) Thrown by `String` methods to indicate that an index is either negative or greater than the size of the string. [StrongBoxUnavailableException](https://developer.android.com/reference/android/security/keystore/StrongBoxUnavailableException) Indicates that an operation could not be performed because the requested security hardware is not available. [SystemUpdatePolicy.ValidationFailedException](https://developer.android.com/reference/android/app/admin/SystemUpdatePolicy.ValidationFailedException) An exception class that represents various validation errors thrown from `https://developer.android.com/reference/android/app/admin/SystemUpdatePolicy#setFreezePeriods(java.util.List<android.app.admin.FreezePeriod>)` and `https://developer.android.com/reference/android/app/admin/DevicePolicyManager#setSystemUpdatePolicy(android.content.ComponentName,%20android.app.admin.SystemUpdatePolicy)` [UnknownFormatConversionException](https://developer.android.com/reference/java/util/UnknownFormatConversionException) Unchecked exception thrown when an unknown conversion is given. [UnknownFormatFlagsException](https://developer.android.com/reference/java/util/UnknownFormatFlagsException) Unchecked exception thrown when an unknown flag is given. [UnresolvedAddressException](https://developer.android.com/reference/java/nio/channels/UnresolvedAddressException) Unchecked exception thrown when an attempt is made to invoke a network operation upon an unresolved socket address. [UnsafeStateException](https://developer.android.com/reference/android/app/admin/UnsafeStateException) Exception thrown when a `https://developer.android.com/reference/android/app/admin/DevicePolicyManager` operation failed because it was not safe to be executed at that moment. [UnsupportedAddressTypeException](https://developer.android.com/reference/java/nio/channels/UnsupportedAddressTypeException) 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://developer.android.com/reference/java/nio/charset/UnsupportedCharsetException) Unchecked exception thrown when no support is available for a requested charset. [UnsupportedTemporalTypeException](https://developer.android.com/reference/java/time/temporal/UnsupportedTemporalTypeException) UnsupportedTemporalTypeException indicates that a ChronoField or ChronoUnit is not supported for a Temporal class. [WritePendingException](https://developer.android.com/reference/java/nio/channels/WritePendingException) Unchecked exception thrown when an attempt is made to write to an asynchronous socket channel and a previous write has not completed. [ZoneRulesException](https://developer.android.com/reference/java/time/zone/ZoneRulesException) Thrown to indicate a problem with time-zone configuration.   

*** ** * ** ***

`RuntimeException` is the superclass of those
exceptions that can be thrown during the normal operation of the
Java Virtual Machine.

`RuntimeException` and its subclasses are *unchecked
exceptions* . Unchecked exceptions do *not* 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.

## Summary

| ### Public constructors ||
|---|---|
| ` https://developer.android.com/reference/java/lang/RuntimeException#RuntimeException()() ` Constructs a new runtime exception with `null` as its detail message. |
| ` https://developer.android.com/reference/java/lang/RuntimeException#RuntimeException(java.lang.String)(https://developer.android.com/reference/java/lang/String message) ` Constructs a new runtime exception with the specified detail message. |
| ` https://developer.android.com/reference/java/lang/RuntimeException#RuntimeException(java.lang.String,%20java.lang.Throwable)(https://developer.android.com/reference/java/lang/String message, https://developer.android.com/reference/java/lang/Throwable cause) ` Constructs a new runtime exception with the specified detail message and cause. |
| ` https://developer.android.com/reference/java/lang/RuntimeException#RuntimeException(java.lang.Throwable)(https://developer.android.com/reference/java/lang/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`). |

| ### Protected constructors ||
|---|---|
| ` https://developer.android.com/reference/java/lang/RuntimeException#RuntimeException(java.lang.String,%20java.lang.Throwable,%20boolean,%20boolean)(https://developer.android.com/reference/java/lang/String message, https://developer.android.com/reference/java/lang/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. |

### Inherited methods

From class `

https://developer.android.com/reference/java/lang/Throwable

` `


final

void` `
https://developer.android.com/reference/java/lang/Throwable#addSuppressed(java.lang.Throwable)(https://developer.android.com/reference/java/lang/Throwable exception)
`

Appends the specified exception to the exceptions that were
suppressed in order to deliver this exception.


`


https://developer.android.com/reference/java/lang/Throwable` `
https://developer.android.com/reference/java/lang/Throwable#fillInStackTrace()()
`

Fills in the execution stack trace.


`


https://developer.android.com/reference/java/lang/Throwable` `
https://developer.android.com/reference/java/lang/Throwable#getCause()()
`

Returns the cause of this throwable or `null` if the
cause is nonexistent or unknown.


`


https://developer.android.com/reference/java/lang/String` `
https://developer.android.com/reference/java/lang/Throwable#getLocalizedMessage()()
`

Creates a localized description of this throwable.


`


https://developer.android.com/reference/java/lang/String` `
https://developer.android.com/reference/java/lang/Throwable#getMessage()()
`

Returns the detail message string of this throwable.


`


https://developer.android.com/reference/java/lang/StackTraceElement` `
https://developer.android.com/reference/java/lang/Throwable#getStackTrace()()
`

Provides programmatic access to the stack trace information printed by
`https://developer.android.com/reference/java/lang/Throwable#printStackTrace()`.


`


final

https://developer.android.com/reference/java/lang/Throwable` `
https://developer.android.com/reference/java/lang/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.


`


https://developer.android.com/reference/java/lang/Throwable` `
https://developer.android.com/reference/java/lang/Throwable#initCause(java.lang.Throwable)(https://developer.android.com/reference/java/lang/Throwable cause)
`

Initializes the *cause* of this throwable to the specified value.


`


void` `
https://developer.android.com/reference/java/lang/Throwable#printStackTrace()()
`

Prints this throwable and its backtrace to the
standard error stream.


`


void` `
https://developer.android.com/reference/java/lang/Throwable#printStackTrace(java.io.PrintWriter)(https://developer.android.com/reference/java/io/PrintWriter s)
`

Prints this throwable and its backtrace to the specified
print writer.


`


void` `
https://developer.android.com/reference/java/lang/Throwable#printStackTrace(java.io.PrintStream)(https://developer.android.com/reference/java/io/PrintStream s)
`

Prints this throwable and its backtrace to the specified print stream.


`


void` `
https://developer.android.com/reference/java/lang/Throwable#setStackTrace(java.lang.StackTraceElement[])(https://developer.android.com/reference/java/lang/StackTraceElement stackTrace)
`

Sets the stack trace elements that will be returned by
`https://developer.android.com/reference/java/lang/Throwable#getStackTrace()` and printed by `https://developer.android.com/reference/java/lang/Throwable#printStackTrace()`
and related methods.


`


https://developer.android.com/reference/java/lang/String` `
https://developer.android.com/reference/java/lang/Throwable#toString()()
`

Returns a short description of this throwable.


From class `

https://developer.android.com/reference/java/lang/Object

` `


https://developer.android.com/reference/java/lang/Object` `
https://developer.android.com/reference/java/lang/Object#clone()()
`

Creates and returns a copy of this object.


`


boolean` `
https://developer.android.com/reference/java/lang/Object#equals(java.lang.Object)(https://developer.android.com/reference/java/lang/Object obj)
`

Indicates whether some other object is "equal to" this one.


`


void` `
https://developer.android.com/reference/java/lang/Object#finalize()()
`

Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.


`


final

https://developer.android.com/reference/java/lang/Class<?>` `
https://developer.android.com/reference/java/lang/Object#getClass()()
`

Returns the runtime class of this `Object`.


`


int` `
https://developer.android.com/reference/java/lang/Object#hashCode()()
`

Returns a hash code value for the object.


`


final

void` `
https://developer.android.com/reference/java/lang/Object#notify()()
`

Wakes up a single thread that is waiting on this object's
monitor.


`


final

void` `
https://developer.android.com/reference/java/lang/Object#notifyAll()()
`

Wakes up all threads that are waiting on this object's monitor.


`


https://developer.android.com/reference/java/lang/String` `
https://developer.android.com/reference/java/lang/Object#toString()()
`

Returns a string representation of the object.


`


final

void` `
https://developer.android.com/reference/java/lang/Object#wait(long,%20int)(long timeoutMillis, int nanos)
`

Causes the current thread to wait until it is awakened, typically
by being *notified* or *interrupted*, or until a
certain amount of real time has elapsed.


`


final

void` `
https://developer.android.com/reference/java/lang/Object#wait(long)(long timeoutMillis)
`

Causes the current thread to wait until it is awakened, typically
by being *notified* or *interrupted*, or until a
certain amount of real time has elapsed.


`


final

void` `
https://developer.android.com/reference/java/lang/Object#wait()()
`

Causes the current thread to wait until it is awakened, typically
by being *notified* or *interrupted*.


## Public constructors

### RuntimeException

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public RuntimeException ()
```

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

<br />

### RuntimeException

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public RuntimeException (String message)
```

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

<br />

| Parameters ||
|---|---|
| `message` | `String`: the detail message. The detail message is saved for later retrieval by the `https://developer.android.com/reference/java/lang/Throwable#getMessage()` method. <br /> |

### RuntimeException

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public RuntimeException (String message, 
                Throwable cause)
```

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

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

<br />

| Parameters ||
|---|---|
| `message` | `String`: the detail message (which is saved for later retrieval by the `https://developer.android.com/reference/java/lang/Throwable#getMessage()` method). <br /> |
| `cause` | `Throwable`: the cause (which is saved for later retrieval by the `https://developer.android.com/reference/java/lang/Throwable#getCause()` method). (A `null` value is permitted, and indicates that the cause is nonexistent or unknown.) <br /> |

### RuntimeException

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public 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`). This constructor is useful for runtime exceptions
that are little more than wrappers for other throwables.

<br />

| Parameters ||
|---|---|
| `cause` | `Throwable`: the cause (which is saved for later retrieval by the `https://developer.android.com/reference/java/lang/Throwable#getCause()` method). (A `null` value is permitted, and indicates that the cause is nonexistent or unknown.) <br /> |

## Protected constructors

### RuntimeException

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
protected 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.

<br />

| Parameters ||
|---|---|
| `message` | `String`: the detail message. <br /> |
| `cause` | `Throwable`: the cause. (A `null` value is permitted, and indicates that the cause is nonexistent or unknown.) <br /> |
| `enableSuppression` | `boolean`: whether or not suppression is enabled or disabled <br /> |
| `writableStackTrace` | `boolean`: whether or not the stack trace should be writable <br /> |