Enables or disables intercept-errors and cover-errors-with-cache functionality. When enabled, intercept-errors buffers gear output so that exceptions can be handled before any gear content is displayed. If cover-errors-with-cache is enabled and an error or timeout occurs while a gear is rendering, cached content will be displayed instead of the error.

Sub-elements

Element

Value Attribute

intercept-errors

true or false

cover-errors-with-cache

true or false

Error Handling Example
<error-handling>
  <intercept-errors value="true"/>
  <cover-errors-with-cache value="true"/>
</error-handling>

Copyright © 1997, 2016 Oracle and/or its affiliates. All rights reserved. Legal Notices