On Tue, 12 Oct 2010 08:11:31 -0300, Stephan Windmüller
<stephan.windmuel...@tu-dortmund.de> wrote:
On 11.10.2010 20:28, Thiago H. de Paula Figueiredo wrote:
No, and I am unsure about how to use it. As far as I can see, the
implementation of the ValueEncoder interface does not permit throwing
Exceptions.
Any RuntimeException or subclass can be thrown in any method of any
class
or interface.
The difference is that NotFoundException is not a RuntimeException, so I
have to declare it. This works when I write the onActivate code manually
in each page.
In your ValueEncoder, catch NotFoundException and wrap it in a
RuntimeException.
--
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: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org