Remy Maucherat wrote: > [EMAIL PROTECTED] wrote: > > >>luehe 2004/11/01 14:38:44 >> >> Modified: catalina/src/share/org/apache/catalina/connector >> RequestFacade.java LocalStrings.properties >> Log: >> Throw more meaningful exception (instead of NPE) if underlying request has been >> recycled and attempt is made to access it via its facade >> > > I think I always consistently refused this change (no use: if people who > hack can't be bothered to look that up in the code, then I don't think > they'll understand what your exception really means either), but I'll > give up on that one.
In this case, it's useful because rather than instinctively filing a bug against Tomcat when seeing a NPE, people will be reminded to check their code first, because they're obviously using Tomcat in a way it was not intended to be used. We just ran into this internally. Jan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]