commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ole Ersoy <>
Subject Re: [Math - 403] Never propagate a "NullPointerException" resulting from bad usage of the API
Date Fri, 04 Mar 2011 19:33:41 GMT

Just want to throw another idea into the mix.  How about stripping all the validation argument
validation lines and putting in separate validator classes.  Clients would call the validator
on the arguments for the class before passing the arguments to the class's method.  It makes
the core classes more focused and efficient and enables clients to wrap method invocations
with aspects that apply the validation routine.

- Ole

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message