----- Original Message ----- 
From: "Erik Hatcher" <[EMAIL PROTECTED]>
To: "Tapestry users" <[email protected]>
Sent: Monday, May 16, 2005 11:37 AM
Subject: Re: InvalidateSessionException for log out?


>
> 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.

Actually, I'm also for other aproaches, but seems than no one had some
proper idea ...

-Vjeran



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.8 - Release Date: 10.5.2005


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

Reply via email to