How do you want to handle it? onException works if you want to manage the exception per page, perhaps also Tynamo's exceptionpage module could be of use (http://tynamo.org/tapestry-exceptionpage+guide).
Kalle On Mon, Oct 11, 2010 at 5:40 AM, Stephan Windmüller <stephan.windmuel...@tu-dortmund.de> wrote: > Hello! > > Currently we have a lot of onActivate/Passivate calls of the form > > void onActivate(String thingId) throws NotFoundException{ > this.thing = myService.getThing(thingId); > } > > 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? > > TIA > Stephan > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org