<ao:assert>

Evaluates the test expression, if it is not true throws AssertionError with the optional message.

Tag Information

Tag Class: com.aoapps.taglib.AssertTag
TagExtraInfo Class: None
Body Content: empty
Display Name: None

Attributes

Name Required Evaluation Type Description
test Yes Runtime boolean

The condition to be evaluated. This condition is always evaluated regardless whether Java assertions are enabled or disabled.

message No Deferred-Value String

The message included in the AssertionError, only evaluated as-needed due to use of deferred expressions.

Variables

No Variables Defined.