Use IllegalArgumentException for illegal argument.