where is your exception is thrown from? also, check that its not being wrapped in another exception such as a WicketRuntimeException.
-igor On Tue, Nov 10, 2009 at 9:57 AM, Fernando Wermus <fernando.wer...@gmail.com> wrote: > Hi all, > I am testing transactionability in a site which I am developing. I got > to roll back the app in case of a Hibernate DataException, but I couldnt > reach my custom request cycle method onRutimeException > > @Override public Page onRuntimeException(Page page, RuntimeException e) > > Why is this? > > The roll back is done in endRequestCycle, while I had instructed a new model > to be shown in the original page in case of succeded. It shows the succeded > page instead the error one. > > Thanks in advance > > > > -- > Fernando Wermus. > > www.linkedin.com/in/fernandowermus > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org