ok or use IllegalArgumentException. Regards
On Sunday, December 13, 2015, Felix Schumacher < [email protected]> wrote: > Hi all, > > in the new report package, there are a lot of null-checks of the sort > > if (foo == null) { > throw new ArgumentNullException("foo"); > } > > The ArgumentNullException is a new class from report.core. > > We could use Validate.notNull() from commons lang3 instead. It will throw > an NullPointerException, when a null value is found. > > What do you think? > > Regards, > Felix > -- Cordialement. Philippe Mouawad.
