| Package | Description |
|---|---|
| java.io | |
| java.lang | |
| java.lang.annotation | |
| java.lang.invoke | |
| java.net | |
| java.text | |
| java.util |
| Modifier and Type | Class and Description |
|---|---|
class |
EOFException
Signals that an end of file or end of stream has been reached unexpectedly during input.
|
class |
InterruptedIOException
Signals that an I/O operation has been interrupted.
|
class |
IOException
Signals that an I/O exception of some sort has occurred.
|
class |
UnsupportedEncodingException
The Character Encoding is not supported.
|
class |
UTFDataFormatException
Signals that a malformed UTF-8 string has been read in a data input stream or by any class that implements the data input interface.
|
| Constructor and Description |
|---|
IOException(String s,
Throwable cause)
Constructs an IOException with the specified detail message and cause.
|
IOException(Throwable cause)
Constructs an IOException with the specified cause.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractMethodError
Exception thrown when an attempt is made to call an abstract method.
|
class |
ArithmeticException
Thrown when an exceptional arithmetic condition has occurred.
|
class |
ArrayIndexOutOfBoundsException
Thrown to indicate that an array has been accessed with an illegal index.
|
class |
ArrayStoreException
Thrown to indicate that an attempt has been made to store the wrong type of object into an array of objects.
|
class |
AssertionError |
class |
ClassCastException
Thrown to indicate that the code has attempted to cast an object to a subclass of which it is not an instance.
|
class |
ClassNotFoundException
Thrown when an application tries to load in a class through its string name using the forName method in class Class but no definition for the class with the specified name could be found.
|
class |
CloneNotSupportedException
Thrown when a program attempts to clone an object which does not support the
Cloneable interface. |
class |
Error
An Error is a subclass of Throwable that indicates serious problems that a reasonable application should not try to catch.
|
class |
Exception
The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch.
|
class |
IllegalAccessException
Thrown when an application tries to load in a class, but the currently executing method does not have access to the definition of the specified class, because the class is not public and in another package.
|
class |
IllegalArgumentException
Thrown to indicate that a method has been passed an illegal or inappropriate argument.
|
class |
IllegalMonitorStateException
Thrown to indicate that a thread has attempted to wait on an object's monitor or to notify other threads waiting on an object's monitor without owning the specified monitor.
|
class |
IllegalStateException |
class |
IllegalThreadStateException
Thrown to indicate that a thread is not in an appropriate state for the requested operation.
|
class |
IncompatibleClassChangeError
IncompatibleClassChangeError is the superclass of all classes which
represent errors that occur when inconsistent class files are loaded into
the same running image. |
class |
IndexOutOfBoundsException
Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range.
|
class |
InstantiationException
Thrown when an application tries to create an instance of a class using the newInstance method in class Class, but the specified class object cannot be instantiated because it is an interface or is an abstract class.
|
class |
InterruptedException
Thrown when a thread is waiting, sleeping, or otherwise paused for a long time and another thread interrupts it.
|
class |
LinkageError
LinkageError is the superclass of all error classes that occur when
loading and linking class files. |
class |
NegativeArraySizeException
Thrown if an application tries to create an array with negative size.
|
class |
NoClassDefFoundError
Thrown if the Java Virtual Machine tries to load in the definition of a class (as part of a normal method call or as part of creating a new instance using the new expression) and no definition of the class could be found.
|
class |
NoSuchFieldError
Thrown when the virtual machine notices that a program tries to reference,
on a class or object, a field that does not exist.
|
class |
NullPointerException
Thrown when an application attempts to use null in a case where an object is required.
|
class |
NumberFormatException
Thrown to indicate that the application has attempted to convert a string to one of the numeric types, but that the string does not have the appropriate format.
|
class |
OutOfMemoryError
Thrown when the Java Virtual Machine cannot allocate an object because it is out of memory, and no more memory could be made available by the garbage collector.
|
class |
RuntimeException
RuntimeException is the superclass of those exceptions that can be thrown during the normal operation of the Java Virtual Machine.
|
class |
SecurityException
Thrown by the system to indicate a security violation.
|
class |
StringIndexOutOfBoundsException
Thrown by the charAt method in class String and by other String methods to indicate that an index is either negative or greater than or equal to the size of the string.
|
class |
UnsupportedOperationException |
class |
VirtualMachineError
Thrown to indicate that the Java Virtual Machine is broken or has run out of resources necessary for it to continue operating.
|
| Modifier and Type | Method and Description |
|---|---|
Throwable |
Throwable.getCause()
Returns the cause of this throwable or null if the cause is nonexistent or unknown.
|
Throwable[] |
Throwable.getSuppressed() |
Throwable |
Throwable.initCause(Throwable cause)
Deprecated.
DO NOT USE THIS METHOD, its here just to get the compiler working and isn't intended for use
|
| Modifier and Type | Method and Description |
|---|---|
void |
Throwable.addSuppressed(Throwable exception) |
Throwable |
Throwable.initCause(Throwable cause)
Deprecated.
DO NOT USE THIS METHOD, its here just to get the compiler working and isn't intended for use
|
| Constructor and Description |
|---|
AssertionError(String message,
Throwable cause) |
Exception(String s,
Throwable cause)
Constructs a new exception with message and cause.
|
Exception(Throwable cause)
Constructs a new exception with the provided cause.
|
RuntimeException(String s,
Throwable cause)
Constructs a RuntimeException with the specified detail message and cause.
|
RuntimeException(Throwable cause)
Constructs a RuntimeException with specified cause.
|
Throwable(String message,
Throwable cause)
Constructs a new throwable with the specified detail message and cause.
|
Throwable(Throwable cause)
Constructs a new throwable with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
|
| Modifier and Type | Class and Description |
|---|---|
class |
AnnotationFormatError
A mirror of java.lang.annotation.AnnotationFormatError.
|
class |
IncompleteAnnotationException
A mirror of java.lang.annotation.IncompleteAnnotationException.
|
| Constructor and Description |
|---|
AnnotationFormatError(String message,
Throwable cause) |
AnnotationFormatError(Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
static MethodHandle |
MethodHandles.catchException(MethodHandle a,
Class<? extends Throwable> b,
MethodHandle c)
Deprecated.
|
static MethodHandle |
MethodHandles.throwException(Class<?> a,
Class<? extends Throwable> b)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
MethodHandle.invoke(Object... a)
Deprecated.
|
Object |
MethodHandle.invokeExact(Object... a)
Deprecated.
|
Object |
MethodHandle.invokeWithArguments(List<?> a)
Deprecated.
|
Object |
MethodHandle.invokeWithArguments(Object... a)
Deprecated.
|
| Modifier and Type | Class and Description |
|---|---|
class |
URISyntaxException |
| Modifier and Type | Class and Description |
|---|---|
class |
ParseException
An error occurred during parsing.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ConcurrentModificationException
An
ConcurrentModificationException is thrown when a Collection is
modified and an existing iterator on the Collection is used to modify the
Collection as well. |
class |
EmptyStackException
Thrown by methods in the Stack class to indicate that the stack is empty.
|
class |
NoSuchElementException
Thrown by the nextElement method of an Enumeration to indicate that there are no more elements in the enumeration.
|
Copyright © 2025. All rights reserved.