c:catch

<c:catch
  exception? = expression
  when? = expression
  value? = expression >
  <!-- Content: sequence-constructor -->
</c:catch>

Catches an exception.

Permitted parent elements
c:try

Attributes

exception The exception to catch.
value A value to output.
when An exception filter.

In addition to the attributes in the preceding table, there are a number of standard attributes that may appear on any XCST element.

Error Conditions

It is a compilation error if the value attribute is present when the content of the element is non-empty.