+1 for NPE. New Java versions are supposed to even auto generate useful error messages for them, too.
On Thu, Dec 5, 2019 at 10:22 Gary Gregory <garydgreg...@gmail.com> wrote: > Hi All: > > org.apache.commons.collections4.CollectionUtils contains a mix of checking > for null inputs by throwing NullPointerExceptions in some methods and > IllegalArgumentExceptions in others. > > I propose we standardized to NPE simply because the JRE provides > Objects.requireNonNull() just for this purpose. > > Gary > -- Matt Sicker <boa...@gmail.com>