failMainTransaction(final Throwable) method

Determine whether the given exception should cause the main transaction to be failed.

Syntax

boolean failMainTransaction ( final Throwable e )

Parameters

Returns

true if the main transaction should be failed

Usage

true if the main transaction should be failed