Example #1
0
 private void OnAddBuildsFail(string userTargedErrorMessage, ServerUnavailableException ex)
 {
     _log.Error("Failed to connect to SoS online", ex);
     InvokeUpdateStatusBar(userTargedErrorMessage, ex);
 }
 private void OnConnectionFail(ServerUnavailableException obj)
 {
     _log.Error("Failed to connect to SoS Online.", obj);
 }
Example #3
0
 protected void InvokeServerUnavailable(ServerUnavailableException args)
 {
     var e = ServerUnavailable;
     if (e != null) e(this, new ServerUnavailableEventArgs(args));
 }
Example #4
0
 public ServerUnavailableEventArgs(ServerUnavailableException ex)
 {
     Exception = ex;
 }
Example #5
0
 public new void InvokeServerUnavailable(ServerUnavailableException ex)
 {
     base.InvokeServerUnavailable(ex);
 }
 public void InvokeServerUnavailable(ServerUnavailableException serverUnavailableException)
 {
     ((WatcherFake)CiEntryPointSetting.GetWatcher(Settings)).InvokeServerUnavailable(serverUnavailableException);
 }
Example #7
0
 private void OnSosOnlineFailure(string userFriendlyErrorMessage, ServerUnavailableException ex)
 {
     _loading.Visible = false;
     SosMessageBox.Show("Error connecting", userFriendlyErrorMessage, "Hmmmm");
     _sosOnlineStatus.Text = userFriendlyErrorMessage;
 }