/// <summary> /// Processes the specified notice. /// </summary> /// <param name="notice">The notice.</param> public static void Process(INotification notice) { try { notice.PreDispatch(); notice.Dispatch(); notice.PostDispatch(); } catch (Exception ex) { ExceptionManager.HandleException(ex); throw new NotificationException("Error while processing notice!", ex); } }