protected void doHandleException(Exception ex, MuleEvent event)
{
FlowConstructStatistics statistics = event.getFlowConstruct().getStatistics();
if (statistics != null && statistics.isEnabled())
{
statistics.incExecutionError();
}
// Left this here for backwards-compatibility, remove in the next major version.
defaultHandler(ex);