public void finished(Ice.LocalException ex, bool sent) { _m.Lock(); if(_remoteObserver != null) { _remoteObserver.failed(ex.ice_name()); _remoteObserver.detach(); } try { _exception = ex; _m.Notify(); } finally { _m.Unlock(); } }
private void exception(ref bool haveResponse, Ice.Exception ex) { haveResponse = true; lblStatus.Text = "Exception: " + ex.ice_name(); }
public void finished(Ice.LocalException ex, bool sent) { _m.Lock(); try { Debug.Assert(_state <= StateInProgress); if(_remoteObserver != null) { _remoteObserver.failed(ex.ice_name()); _remoteObserver.detach(); _remoteObserver = null; } _state = StateFailed; _exception = ex; _sent = sent; _m.Notify(); } finally { _m.Unlock(); } }
public void exception(Ice.Exception ex) { lock(this) { _response = true; _mainForm.lblStatus.Text = "Exception: " + ex.ice_name(); } }