stop

Synopsis

<#stop>
or
<#stop reason>

Where:

  • reason: Informative message about the reason of termination. Expression evaluates to string.

Description

Aborts the processing of template. This is something like an emergency brake: don't use it in normal situations. Aborting happens by throwing a StopException, and the StopException will hold the value of reason parameter.


Page generated: 2008-08-31 23:11:23 GMT FreeMarker Manual -- For FreeMarker 2.3.14