Illegal Argument Exceptions
IllegalArgumentException
Thrown to indicate that a method has been passed an illegal or inappropriate argument
Extends Error
ValueOutOfRangeException
Thrown to indicate that given value is not correct
Extends IllegalArgumentException
IndexOutOfBoundsException
Thrown to indicate that given index is out of available range