Throw IllegalArgumentException for bad arguments
Merge pull request #85 from fthomas/use-require

Throw IllegalArgumentException for bad arguments instead of RuntimeException