Implemented by a bean representing a strategy for dealing with exceptions
which occur during rendering of a view. The bean is expected to return
the ViewParameters of a new (and hopefully more valid view) that the
client is to be redirected to in the event of this level-1 error. If an
error occurs whilst rendering this page, a fatal error will be declared
(customisable by
uk.org.ponder.rsf.processor.FatalErrorHandler ).
A strategy may return null to indicate it defers to some
later strategy.
author: Antranig Basman (amb26@ponder.org.uk)
handleException(Exception e, ViewParameters viewparams) Handle an exception raised from a ViewProducer.
Parameters: e - The raised exception. Parameters: viewparams - The ViewParameters of the view being rendered when theexception was encountered.
Handle an exception raised from a ViewProducer.
Parameters: e - The raised exception. Parameters: viewparams - The ViewParameters of the view being rendered when theexception was encountered. ViewParameters to which the client is to be redirected.