On May 16, 2005, at 12:51 AM, Vjeran Marcinko wrote:
For example, we have PageRedirectException and RedirectException for
changing request flow once it is in listener method.
Now we wan to perform log out from listener method, so, how does it sound to
introduce something like
throw new InvalidateSessionException(String toPageName);
for that purpose?


Actually, somehow it doesn't seem right to use exceptions for normal
situations since exceptions should be rasied when something bad happened
(Joshua Bloch), but since we already do...


Thoughts?

I'm -1 for adding more flow-control exceptions. The two already possible cause trouble when trying to extend Tapestry as it is. A different approach should be taken for the logout needs.


    Erik


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to