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