You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by jeff mutonho <li...@gmail.com> on 2011/09/08 12:58:43 UTC

Validate method with logging

Hi

Is there an argument validate method in the lang package that one can
override not to throw a NullPointerException (NPE) after validating
a "null" argument, and rather log the NPE using  org.apache.log4j.Logger?


Thanks

Re: Validate method with logging

Posted by Henri Yandell <fl...@gmail.com>.
Nope. Primarily because Lang doesn't take dependencies on anything but the JDK.

Hen

On Thu, Sep 8, 2011 at 3:58 AM, jeff mutonho <li...@gmail.com> wrote:
> Hi
>
> Is there an argument validate method in the lang package that one can
> override not to throw a NullPointerException (NPE) after validating
> a "null" argument, and rather log the NPE using  org.apache.log4j.Logger?
>
>
> Thanks
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org