On Thu, 20 Mar 2003, Carsten Ziegeler wrote:

>
> Stephan Michels wrote:
> > Hmm, I'll think that I'm not the only one, who went into the trap. You're
> > right returning a null validity hurts the contract, this will cause an
> > exception. But a NPE in isValid() doesn't help searching the problem.
> >
> Yes, but adding it in add().

Right, then you can see where the problem lie with help of the stacktrace.

Stephan.

Reply via email to