more method param checks that throw IllegalArgumentException