I agree with this view. It would help the developer who uses CM if the library told him/her what they did wrong ("argument 'foo' cannot be null") instead of a simple exception thrown message ("NullPointerException thrown at line nnn of class Xyz").

-Adrian


On 3/2/2011 3:37 AM, Gilles Sadowski wrote:
In my view, the
exceptions are good if they allow to easily track down bugs (be they in CM
or in user code). Accordingly they must precisely point to the source of the
problem (in the code) and not try to outguess the user (as to what it
should mean for him).


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to