Implement the interface [ViewExceptionStrategy|https://saffron.caret.cam.ac.uk/svn/projects/RSFUtil/trunk/src/uk/org/ponder/rsf/flow/errors/ViewExceptionStrategy.java] in a bean marked with the [TLAB|TargetListAggregatingBean] {{viewExceptionStrategyPareyt}} in order to declare a custom strategy for handling exceptions received during rendering a view.

For example, the following Spring definition (at application scope) declares and marks a strategy which will pass on (by rethrowing) any exception of class SecurityException:

{{{
  
  <bean parent="viewExceptionStrategyParent">
    <property name="value">
      <bean class="uk.org.ponder.rsf.flow.errors.PropagatingViewExceptionStrategy">
        <property name="propagatedExceptions" value="java.lang.SecurityException"/>
      </bean>
     </property>
  </bean>
}}}