| Package | Description |
|---|---|
| java.lang | |
| java.lang.annotation | |
| java.util |
| Modifier and Type | Class and Description |
|---|---|
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 |
ClassCastException
Thrown to indicate that the code has attempted to cast an object to a subclass of which it is not an instance.
|
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 |
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 |
NegativeArraySizeException
Thrown if an application tries to create an array with negative size.
|
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 |
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 |
| Modifier and Type | Class and Description |
|---|---|
class |
IncompleteAnnotationException
A mirror of java.lang.annotation.IncompleteAnnotationException.
|
| 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 © 2023. All rights reserved.