Implement the interface ViewExceptionStrategy in a bean marked with the TLAB 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="">
        <property name="propagatedExceptions" value="java.lang.SecurityException"/>

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-) was last changed on 05-Jun-2007 18:18 by UnknownAuthor