struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 17728] - EvalHelper should not throw NullAttributeException, it's too slow
Date Thu, 06 Mar 2003 15:46:11 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17728>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17728

EvalHelper should not throw NullAttributeException, it's too slow





------- Additional Comments From dgraham@apache.org  2003-03-06 15:46 -------
I don't know enough about the EL tags to make a judgement but I can say that 
exceptions shouldn't be used as a common execution path.  There is 0 overhead 
for executing in a try/catch block until you throw an exception.  If it's 
reasonable for the eval() method to return null then we should do that instead 
of throwing an exception.

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org


Mime
View raw message