You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by Kalle Korhonen <ka...@gmail.com> on 2012/01/21 21:38:22 UTC

Bringing Tynamo's tapestry-exceptionpage into the core?

Of all the little Tynamo modules, I regard tapestry-exceptionpage
(http://tynamo.org/tapestry-exceptionpage+guide) as the most generally
useful and the least intrusive one. Basically, the module allows you
to map specific exception types to pages, similarly (but more
flexible) to error-page/exception-type configuration in the standard
servlet spec. Any objections if I brought it into the tapestry-core
and make it a feature of the default ExceptionHandler in T5.4? I'm the
sole contributor and copyright owner so it'd be simple.

Kalle

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


Re: Bringing Tynamo's tapestry-exceptionpage into the core?

Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
On Mon, 23 Jan 2012 14:42:03 -0200, Massimo Lusetti <ml...@gmail.com>  
wrote:

> On Sat, Jan 21, 2012 at 9:38 PM, Kalle Korhonen
> <ka...@gmail.com> wrote:
>
>> Of all the little Tynamo modules, I regard tapestry-exceptionpage
>> (http://tynamo.org/tapestry-exceptionpage+guide) as the most generally
>> useful and the least intrusive one. Basically, the module allows you
>> to map specific exception types to pages, similarly (but more
>> flexible) to error-page/exception-type configuration in the standard
>> servlet spec. Any objections if I brought it into the tapestry-core
>> and make it a feature of the default ExceptionHandler in T5.4? I'm the
>> sole contributor and copyright owner so it'd be simple.
>
> Never used that, but from the short description it sounds interesting.

Same to me.

-- 
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

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


Re: Bringing Tynamo's tapestry-exceptionpage into the core?

Posted by Massimo Lusetti <ml...@gmail.com>.
On Sat, Jan 21, 2012 at 9:38 PM, Kalle Korhonen
<ka...@gmail.com> wrote:

> Of all the little Tynamo modules, I regard tapestry-exceptionpage
> (http://tynamo.org/tapestry-exceptionpage+guide) as the most generally
> useful and the least intrusive one. Basically, the module allows you
> to map specific exception types to pages, similarly (but more
> flexible) to error-page/exception-type configuration in the standard
> servlet spec. Any objections if I brought it into the tapestry-core
> and make it a feature of the default ExceptionHandler in T5.4? I'm the
> sole contributor and copyright owner so it'd be simple.

Never used that, but from the short description it sounds interesting.

Cheers
-- 
Massimo
http://meridio.blogspot.com

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


Re: Bringing Tynamo's tapestry-exceptionpage into the core?

Posted by Kalle Korhonen <ka...@gmail.com>.
Opened https://issues.apache.org/jira/browse/TAP5-1833.

Kalle


On Mon, Jan 23, 2012 at 6:15 PM, Kalle Korhonen
<ka...@gmail.com> wrote:
> On Mon, Jan 23, 2012 at 5:23 PM, Howard Lewis Ship <hl...@gmail.com> wrote:
>> Sounds like a nice feature: does it handle nested/wrapped exceptions?
>
> Yes, and it has to - everything is wrapped either in
> OperationException or ComponentEventException by the time it reaches
> the exception handler (but you knew that!). It also handles
> inheritance hierarchy to some extent.
>
>> Also, does it make sense to handle certain exceptions one way during
>> development and differently in production?
>
> I gave that some thought earlier and decided it doesn't. Typically
> you'd want to test that your exception handling works as expected.
> Obviously we could expand on that later if somebody has a use case for
> it.
>
> Kalle
>
>
>> On Sat, Jan 21, 2012 at 12:38 PM, Kalle Korhonen
>> <ka...@gmail.com> wrote:
>>> Of all the little Tynamo modules, I regard tapestry-exceptionpage
>>> (http://tynamo.org/tapestry-exceptionpage+guide) as the most generally
>>> useful and the least intrusive one. Basically, the module allows you
>>> to map specific exception types to pages, similarly (but more
>>> flexible) to error-page/exception-type configuration in the standard
>>> servlet spec. Any objections if I brought it into the tapestry-core
>>> and make it a feature of the default ExceptionHandler in T5.4? I'm the
>>> sole contributor and copyright owner so it'd be simple.
>>>
>>> Kalle
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
>>> For additional commands, e-mail: dev-help@tapestry.apache.org
>>>
>>
>>
>>
>> --
>> Howard M. Lewis Ship
>>
>> Creator of Apache Tapestry
>>
>> The source for Tapestry training, mentoring and support. Contact me to
>> learn how I can get you up and productive in Tapestry fast!
>>
>> (971) 678-5210
>> http://howardlewisship.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: dev-help@tapestry.apache.org
>>

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


Re: Bringing Tynamo's tapestry-exceptionpage into the core?

Posted by Kalle Korhonen <ka...@gmail.com>.
On Mon, Jan 23, 2012 at 5:23 PM, Howard Lewis Ship <hl...@gmail.com> wrote:
> Sounds like a nice feature: does it handle nested/wrapped exceptions?

Yes, and it has to - everything is wrapped either in
OperationException or ComponentEventException by the time it reaches
the exception handler (but you knew that!). It also handles
inheritance hierarchy to some extent.

> Also, does it make sense to handle certain exceptions one way during
> development and differently in production?

I gave that some thought earlier and decided it doesn't. Typically
you'd want to test that your exception handling works as expected.
Obviously we could expand on that later if somebody has a use case for
it.

Kalle


> On Sat, Jan 21, 2012 at 12:38 PM, Kalle Korhonen
> <ka...@gmail.com> wrote:
>> Of all the little Tynamo modules, I regard tapestry-exceptionpage
>> (http://tynamo.org/tapestry-exceptionpage+guide) as the most generally
>> useful and the least intrusive one. Basically, the module allows you
>> to map specific exception types to pages, similarly (but more
>> flexible) to error-page/exception-type configuration in the standard
>> servlet spec. Any objections if I brought it into the tapestry-core
>> and make it a feature of the default ExceptionHandler in T5.4? I'm the
>> sole contributor and copyright owner so it'd be simple.
>>
>> Kalle
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: dev-help@tapestry.apache.org
>>
>
>
>
> --
> Howard M. Lewis Ship
>
> Creator of Apache Tapestry
>
> The source for Tapestry training, mentoring and support. Contact me to
> learn how I can get you up and productive in Tapestry fast!
>
> (971) 678-5210
> http://howardlewisship.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>

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


Re: Bringing Tynamo's tapestry-exceptionpage into the core?

Posted by Howard Lewis Ship <hl...@gmail.com>.
Sounds like a nice feature: does it handle nested/wrapped exceptions?

Also, does it make sense to handle certain exceptions one way during
development and differently in production?

Sorry if I'm too lazy to read the docs; been hacking hard all day and
my eyes are tired.

On Sat, Jan 21, 2012 at 12:38 PM, Kalle Korhonen
<ka...@gmail.com> wrote:
> Of all the little Tynamo modules, I regard tapestry-exceptionpage
> (http://tynamo.org/tapestry-exceptionpage+guide) as the most generally
> useful and the least intrusive one. Basically, the module allows you
> to map specific exception types to pages, similarly (but more
> flexible) to error-page/exception-type configuration in the standard
> servlet spec. Any objections if I brought it into the tapestry-core
> and make it a feature of the default ExceptionHandler in T5.4? I'm the
> sole contributor and copyright owner so it'd be simple.
>
> Kalle
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

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


Re: Bringing Tynamo's tapestry-exceptionpage into the core?

Posted by Ulrich Stärk <ul...@spielviel.de>.
+1

Am Sa, 21.01.2012, 21:38 schrieb Kalle Korhonen:
> Of all the little Tynamo modules, I regard tapestry-exceptionpage
> (http://tynamo.org/tapestry-exceptionpage+guide) as the most generally
> useful and the least intrusive one. Basically, the module allows you
> to map specific exception types to pages, similarly (but more
> flexible) to error-page/exception-type configuration in the standard
> servlet spec. Any objections if I brought it into the tapestry-core
> and make it a feature of the default ExceptionHandler in T5.4? I'm the
> sole contributor and copyright owner so it'd be simple.
>
> Kalle
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
>



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


Re: Bringing Tynamo's tapestry-exceptionpage into the core?

Posted by Dragan Sahpaski <dr...@gmail.com>.
+1

from me too.

Cheers,
Dragan Sahpaski



On Sat, Jan 21, 2012 at 9:46 PM, Lenny Primak <lp...@hope.nyc.ny.us>wrote:

> I would love that.
>
>
>
> On Jan 21, 2012, at 3:38 PM, Kalle Korhonen <ka...@gmail.com>
> wrote:
>
> > Of all the little Tynamo modules, I regard tapestry-exceptionpage
> > (http://tynamo.org/tapestry-exceptionpage+guide) as the most generally
> > useful and the least intrusive one. Basically, the module allows you
> > to map specific exception types to pages, similarly (but more
> > flexible) to error-page/exception-type configuration in the standard
> > servlet spec. Any objections if I brought it into the tapestry-core
> > and make it a feature of the default ExceptionHandler in T5.4? I'm the
> > sole contributor and copyright owner so it'd be simple.
> >
> > Kalle
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: dev-help@tapestry.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
>

Re: Bringing Tynamo's tapestry-exceptionpage into the core?

Posted by Lenny Primak <lp...@hope.nyc.ny.us>.
I would love that. 



On Jan 21, 2012, at 3:38 PM, Kalle Korhonen <ka...@gmail.com> wrote:

> Of all the little Tynamo modules, I regard tapestry-exceptionpage
> (http://tynamo.org/tapestry-exceptionpage+guide) as the most generally
> useful and the least intrusive one. Basically, the module allows you
> to map specific exception types to pages, similarly (but more
> flexible) to error-page/exception-type configuration in the standard
> servlet spec. Any objections if I brought it into the tapestry-core
> and make it a feature of the default ExceptionHandler in T5.4? I'm the
> sole contributor and copyright owner so it'd be simple.
> 
> Kalle
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
> 

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