java standard exceptions

java standard exceptions
Exceptionsdescription
ArithmeticExceptionIt is thrown when an exceptional condition has occurred in an arithmetic operation.
ArrayIndexOutOfBoundsExceptionIt is thrown to indicate that an array has been accessed with an illegal index. The index is either negative or greater than or equal to the size of the array.
ClassNotFoundExceptionThis Exception is raised when we try to access a class whose definition is not found
FileNotFoundExceptionThis Exception is raised when a file is not accessible or does not open.
IOExceptionIt is thrown when an input-output operation failed or interrupted
InterruptedExceptionIt is thrown when a thread is waiting, sleeping, or doing some processing, and it is interrupted.
NoSuchFieldExceptionIt is thrown when a class does not contain the field (or variable) specified
NoSuchMethodExceptionIt is thrown when accessing a method which is not found.
NullPointerExceptionThis exception is raised when referring to the members of a null object. Null represents nothing
NumberFormatExceptionThis exception is raised when a method could not convert a string into a numeric format.
RuntimeExceptionThis represents any exception which occurs during runtime.
StringIndexOutOfBoundsExceptionIt is thrown by String class methods to indicate that an index is either negative or greater than the size of the string
Created Time:2017-09-30 15:51:34  Author:lautturi