/** * This method notifies the listeners that a critical error has occurred. * * @param criticalErrorMsg The message to deliver to the listeners. */ public void showCriticalError(final String criticalErrorMsg) { for (final ErrorListener listener : listeners) { listener.criticalErrorReported(criticalErrorMsg); } }