how to use illegalargumentexception java code example
Example: IllegalArgumentException
Thrown to indicate that a method has been passed an illegal or inappropriate argument.
Thrown to indicate that a method has been passed an illegal or inappropriate argument.