catch (MuleException e)
{
MessagingExceptionHandler exceptionListener = event.getFlowConstruct().getExceptionListener();
if (e instanceof MessagingException)
{
exceptionListener.handleException(e, event);
}
else
{
exceptionListener.handleException(new MessagingException(
CoreMessages.eventProcessingFailedFor(getStageDescription()), event, e), event);