Exemple #1
0
 public void handleInvokeException(Ice.Exception ex, OutgoingAsyncBase og)
 {
     SetException(ex);
 }
Exemple #2
0
 public virtual bool exception(Ice.Exception ex)
 {
     return(exceptionImpl(ex));
 }
Exemple #3
0
 public void exception(Ice.Exception ex)
 {
     lock(this)
     {
         _locatorInfo.finishRequest(_ref, _wellKnownRefs, null, ex is Ice.UserException);
         _exception = ex;
         System.Threading.Monitor.PulseAll(this);
     }
     foreach(RequestCallback callback in _callbacks)
     {
         callback.exception(_locatorInfo, ex);
     }
 }
Exemple #4
0
 public void noException(Ice.Exception ex)
 {
     test(false);
 }
Exemple #5
0
 protected virtual int handleException(Ice.Exception exc)
 {
     return(proxy_.handleException__(exc, handler_, mode_, _sent, ref _cnt));
 }
Exemple #6
0
            public void exception(Ice.Exception ex)
            {
                if(ex is Ice.CollocationOptimizationException)
                {
                    send(false); // Use synchronous collocation optimized locator request instead.
                    return;
                }

                _m.Lock();
                try
                {
                    _locatorInfo.finishRequest(_ref, _wellKnownRefs, null, ex is Ice.UserException);
                    _exception = ex;
                    foreach(RequestCallback callback in _callbacks)
                    {
                        callback.exception(_locatorInfo, ex);
                    }
                    _m.NotifyAll();
                }
                finally
                {
                    _m.Unlock();
                }
            }
Exemple #7
0
 public virtual Ice.AsyncCallback completed(Ice.Exception ex)
 {
     return(finished(ex));
 }
Exemple #8
0
 exception(Ice.Exception ex)
 {
 }
Exemple #9
0
 private void exception(ref bool haveResponse, Ice.Exception ex)
 {
     haveResponse   = true;
     lblStatus.Text = "Exception: " + ex.ice_name();
 }
Exemple #10
0
        protected AsyncResultI(Ice.Communicator communicator,
                               Instance instance,
                               string op,
                               object cookie,
                               Ice.AsyncCallback cb)
        {
            instance_ = instance;
            state_ = 0;

            _communicator = communicator;
            _operation = op;
            exception_ = null;
            _cookie = cookie;
            completedCallback_ = cb;
        }
Exemple #11
0
 public override void ice_exception(Ice.Exception ex)
 {
 }