9.2. Control Policies

If an error occurs, the request control-flow changes according to the configuration. This configuration is known as the control policy.

9.2.1. Policy Delegation and Cascading

When a control policy is invoked, the response sent by the control flow can be changed. If the control policy ignores the error, the error is handled by the next policy. If the control policy provides a new response, the next policy is not invoked, since the new response is not an error.
If a portlet in a page produces an exception, the following reactions are possible:
  • the error is displayed in the window.
  • the window is removed from the aggregation.
  • a portal error page is displayed.
  • a HTTP 500 error response is sent to the Web browser.