private void AnnounceError(Exception exception, Element element, string expression) { foreach (var listener in m_Listeners) { listener.ExceptionCaught(new ExceptionCaughtEvent(exception, element, expression)); } }