Hi,

This is the code in the filter (part of it)
        try
        {
          filterChain.doFilter(request, response);
        }
        catch (Exception e)
        {
          System.out.println("Hello");
        }

The exception is printed to the console when calling:
filterChain.doFilter(request, response);

in addition the exception is being caught and the "Hello" is printed.

Guy.


On Wed, Jul 15, 2009 at 11:44 AM, <arno.unk...@vkb.de> wrote:

> This
>
>
> http://josephmarques.wordpress.com/2009/02/05/jsf-odyssey-viewexpiredexception/
>
> article deals with the problem.
>
>
> CU
>
> Arno
>
> Jan-Kees van Andel <jankeesvanan...@gmail.com> schrieb am 15.07.2009
> 10:32:17:
>
> > Are you sure the exception is caught and not rethrown in the filter?
> >
> > Do you have other filters installed?
> >
> > /Jan-Kees
> >
> >
> > 2009/7/15 Guy Bashan <guy.bas...@gmail.com>:
> > > Hi,
> > >
> > > Does anyone has an insight about this issue?
> > >
> > > Thanks,
> > > Guy.
> > >
> > > On Tue, Jul 14, 2009 at 5:38 PM, Guy Bashan <guy.bas...@gmail.com>
> wrote:
> > >>
> > >> Hi,
> > >> It seems like it is impossible to catch the "ViewExpiredException".
> > >> I have a filter with "try" and "catch". When there is
> > >> "ViewExpiredException", the exception is being printed even though I
> catch
> > >> it.
> > >> Is there a way of catching this exception?
> > >>
> > >> Thanks,
> > >> Guy.
> > >
> > >
>
>

Reply via email to