Throw NullPointerExceptions when parameters are null

Effective Java, 2nd Edition recommends throwing a
NullPointerException instead of an IllegalArgumentException
in this case.