| Package | Description | 
|---|---|
| java.io | Contains Input/Output streams communication classes. | 
| java.lang | Contains core language classes. | 
| java.util | Contains utility classes including the collections framework and date manipulation. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | EOFExceptionSignals that an end of file or end of stream has been reached unexpectedly during input. | 
| class  | InterruptedIOExceptionSignals that an I/O operation has been interrupted. | 
| class  | IOExceptionSignals that an I/O exception of some sort has occurred. | 
| class  | UnsupportedEncodingExceptionThe Character Encoding is not supported. | 
| class  | UTFDataFormatExceptionSignals that a malformed string in modified UTF-8
 format has been read in a data input stream or by any class that implements the data input
 interface. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ArithmeticExceptionThrown when an exceptional arithmetic condition has occurred. | 
| class  | ArrayIndexOutOfBoundsExceptionThrown to indicate that an array has been accessed with an illegal index. | 
| class  | ArrayStoreExceptionThrown to indicate that an attempt has been made to store the wrong type of object into an array
 of objects. | 
| class  | ClassCastExceptionThrown to indicate that the code has attempted to cast an object to a subclass of which it is not
 an instance. | 
| class  | ClassNotFoundExceptionThrown when an application tries to load in a class through its string name using:
 
 The  forNamemethod in classClass. | 
| class  | CloneNotSupportedExceptionThrown to indicate that the  clonemethod in classObjecthas been
 called to clone an object, but that the object's class does not implement theCloneableinterface. | 
| class  | IllegalAccessExceptionAn IllegalAccessException is thrown when an application tries to reflectively create an instance
 (other than an array), set or get a field, or invoke a method, but the currently executing method
 does not have access to the definition of the specified class, field, method or constructor. | 
| class  | IllegalArgumentExceptionThrown to indicate that a method has been passed an illegal or inappropriate argument. | 
| class  | IllegalMonitorStateExceptionThrown 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  | IllegalStateExceptionSignals that a method has been invoked at an illegal or inappropriate time. | 
| class  | IllegalThreadStateExceptionThrown to indicate that a thread is not in an appropriate state for the requested operation. | 
| class  | IndexOutOfBoundsExceptionThrown 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  | InstantiationExceptionThrown when an application tries to create an instance of a class using the  newInstancemethod in classClass, but the specified class object cannot be instantiated. | 
| class  | InterruptedExceptionThrown when a thread is waiting, sleeping, or otherwise occupied, and the thread is interrupted,
 either before or during the activity. | 
| class  | NegativeArraySizeExceptionThrown if an application tries to create an array with negative size. | 
| class  | NoSuchFieldExceptionSignals that the class doesn't have a field of a specified name. | 
| class  | NoSuchMethodExceptionThrown when a particular method cannot be found. | 
| class  | NullPointerExceptionThrown when an application attempts to use  nullin a case where an object is required. | 
| class  | NumberFormatExceptionThrown 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  | ReflectiveOperationExceptionCommon superclass of exceptions thrown by reflective operations in core reflection. | 
| class  | RuntimeExceptionRuntimeExceptionis the superclass of those exceptions that can be thrown during the
 normal operation of the Java Virtual Machine. | 
| class  | SecurityExceptionThrown by the security manager to indicate a security violation. | 
| class  | StringIndexOutOfBoundsExceptionThrown by  Stringmethods to indicate that an index is either negative or greater
 than the size of the string. | 
| class  | UnsupportedOperationExceptionThrown to indicate that the requested operation is not supported. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | AutoCloseable. close()Closes this resource, relinquishing any underlying resources. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ConcurrentModificationExceptionThis exception may be thrown by methods that have detected concurrent modification of an object
 when such modification is not permissible. | 
| class  | EmptyStackExceptionThrown by methods in the  Stackclass to indicate that the stack is empty. | 
| class  | NoSuchElementExceptionThrown by the  nextElementmethod of anEnumerationto indicate that
 there are no more elements in the enumeration. |