Structural relationship Throwable
Error exception
Checked abnormal runtime exception
Checked exception is also called IO exception this exception generally we will join in the program block Trycatch processing it.
Runtime exception is also called runtime exception this exception we can handle but generally do not handle, the occurrence of these exceptions will generally make the program crash common Runtimeexeption are:
NullPointerException-NULL pointer reference exception
ClassCastException-type cast exception.
IllegalArgumentException-Pass an illegal parameter exception.
ArithmeticException-Arithmetic Operation exception
Arraystoreexception-Storing an incompatible object exception with the declaration type in the array
Indexoutofboundsexception-Subscript out-of-bounds exception
Negativearraysizeexception-Create an array error exception with a negative size
NumberFormatException-Numeric Format exception
SecurityException-Security exception
Unsupportedoperationexception-Unsupported Operation exception
Exception Classification for Java