Mark Struberg wrote:

Shouldn't we use commons.lang.Validate

Validate.notNull(blablubParameter, "blablubParameter must not be null!");

or at least throw InvalidArgumentExceptions instead of NPE?

+1, to throw IAE instead of NPEs. The former one gives a clearer indication which party (client vs provider) misbehaved.

-0, to pull in another dependency just for something that is trivial to code by hand.


Benjamin

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to