On Mon, 11 Oct 2010 15:20:37 -0300, Stephan Windmüller <stephan.windmuel...@tu-dortmund.de> wrote:

On 11.10.2010 15:00, Thiago H. de Paula Figueiredo wrote:

My thought was to contribute a custom ValueEncoder and use
void onActivate(Thing thing)
instead. But as far as I can see there is no way to handle the
NotFoundException which should be thrown for illegal IDs. Is there a way
to handle this in Tapestry?
Have you tried an onException(Exception e) method in your page class?

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.

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

Reply via email to