ignoreAndThrow

Throws an IgnoredException with the specified reason.

Parameters

reason

The IgnoreReason explaining why the element should be ignored.

Throws

Always thrown with the specified reason.