You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Wojtek Ciesielski <cc...@interia.pl> on 2007/05/15 13:02:21 UTC

T4.1 - Exceptions handling

Hi there,

Is there any document describing how to customize handling of 
application exceptions (using hivemind I suppose) with Tapestry 4.1?

Thanks in advance,
Wojtek

Re: T4.1 - Exceptions handling

Posted by Wojtek Ciesielski <cc...@interia.pl>.
Andreas Andreou wrote:
> like
> http://tapestry.apache.org/tapestry4.1/developmentguide/exceptionpages.html
> ?

Mea culpa. I thought that "development" part is for people who want to 
contribute to Tapestry <blush>

Thanks anyway,
Wojtek


----------------------------------------------------------------------
Warto czytac, bo warto zarabiac
>>> http://link.interia.pl/f1a8f


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: T4.1 - Exceptions handling

Posted by Andreas Andreou <an...@di.uoa.gr>.
http://tapestry.apache.org/tapestry4.1/apidocs/org/apache/tapestry/error/ExceptionPresenter.html
http://tapestry.apache.org/tapestry4.1/tapestry-framework/cobertura/org.apache.tapestry.error.ExceptionPresenterImpl.html

On 5/15/07, Martino Piccinato <ma...@gmail.com> wrote:
>
> I think you can just configure your
>
> <contribution configuration-id="tapestry.Infrastructure">
>     <property name="exceptionPageName" value="MyCustomExceptionPageName"/>
> </contribution>
>
>
> and let the page decide which other page to use for different sets of
> exceptions.
>
> On 5/15/07, Wojtek Ciesielski <cc...@interia.pl> wrote:
> >
> > Andreas Andreou wrote:
> > > like
> > >
> >
> http://tapestry.apache.org/tapestry4.1/developmentguide/exceptionpages.html
> > > ?
> >
> > Btw - no, not like this. The page you've provided show how to change
> > handling page for a given set of predefined exceptions (if I understand
> > it well). I need to handle my own application exceptions (like
> > CustomerDoesNotExistException or SessionIsTimeoutedException)
> >
> > Wojtek
> >
> > ----------------------------------------------------------------------
> > Jestes kierowca? To poczytaj! >>> http://link.interia.pl/f199e
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: users-help@tapestry.apache.org
> >
> >
>



-- 
Andreas Andreou - andyhot@apache.org - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / JEE Consulting

Re: T4.1 - Exceptions handling

Posted by Martino Piccinato <ma...@gmail.com>.
I think you can just configure your

<contribution configuration-id="tapestry.Infrastructure">
    <property name="exceptionPageName" value="MyCustomExceptionPageName"/>
</contribution>


and let the page decide which other page to use for different sets of
exceptions.

On 5/15/07, Wojtek Ciesielski <cc...@interia.pl> wrote:
>
> Andreas Andreou wrote:
> > like
> >
> http://tapestry.apache.org/tapestry4.1/developmentguide/exceptionpages.html
> > ?
>
> Btw - no, not like this. The page you've provided show how to change
> handling page for a given set of predefined exceptions (if I understand
> it well). I need to handle my own application exceptions (like
> CustomerDoesNotExistException or SessionIsTimeoutedException)
>
> Wojtek
>
> ----------------------------------------------------------------------
> Jestes kierowca? To poczytaj! >>> http://link.interia.pl/f199e
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

Re: T4.1 - Exceptions handling

Posted by Wojtek Ciesielski <cc...@interia.pl>.
Andreas Andreou wrote:
> like
> http://tapestry.apache.org/tapestry4.1/developmentguide/exceptionpages.html
> ?

Btw - no, not like this. The page you've provided show how to change 
handling page for a given set of predefined exceptions (if I understand 
it well). I need to handle my own application exceptions (like 
CustomerDoesNotExistException or SessionIsTimeoutedException)

Wojtek

----------------------------------------------------------------------
Jestes kierowca? To poczytaj! >>> http://link.interia.pl/f199e


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: T4.1 - Exceptions handling

Posted by Andreas Andreou <an...@di.uoa.gr>.
like
http://tapestry.apache.org/tapestry4.1/developmentguide/exceptionpages.html
?

On 5/15/07, Wojtek Ciesielski <cc...@interia.pl> wrote:
>
> Hi there,
>
> Is there any document describing how to customize handling of
> application exceptions (using hivemind I suppose) with Tapestry 4.1?
>
> Thanks in advance,
> Wojtek
>



-- 
Andreas Andreou - andyhot@apache.org - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / JEE Consulting