コード例 #1
0
        public void OnNext(ISuspendEvent value)
        {
            SimulatedTaskFailure ex = new SimulatedTaskFailure("FailTaskSuspend.send() invoked.");

            Log.Log(Level.Info, "FailTaskSuspend.send() invoked: {0}", ex);
            throw ex;
        }
コード例 #2
0
ファイル: FailTask.cs プロジェクト: wonook/reef
        private FailTask()
        {
            SimulatedTaskFailure ex = new SimulatedTaskFailure("FailTask constructor called.");

            Log.Log(Level.Info, "FailTask created - failing now: {0}", ex);
            throw ex;
        }
コード例 #3
0
        public void Handle(IDriverMessage message)
        {
            SimulatedTaskFailure ex = new SimulatedTaskFailure("FailTaskMsg.send() invoked.");

            Log.Log(Level.Info, "FailTaskMsg.send() invoked: {0}", ex);
            throw ex;
        }
コード例 #4
0
ファイル: FailTaskClose.cs プロジェクト: wonook/reef
        public void OnNext(ICloseEvent value)
        {
            SimulatedTaskFailure ex = new SimulatedTaskFailure("FailTaskClose.send() invoked.");

            Log.Log(Level.Info, "FailTaskClose.onNext() invoked. Raise exception: {0}", ex);
            throw ex;
        }
コード例 #5
0
ファイル: FailTaskCall.cs プロジェクト: wonook/reef
        public byte[] Call(byte[] memento)
        {
            SimulatedTaskFailure ex = new SimulatedTaskFailure("FailTaskCall.call() invoked.");

            Log.Log(Level.Info, "FailTaskCall.call() invoked: {0}", ex);
            throw ex;
        }
コード例 #6
0
ファイル: FailTaskStop.cs プロジェクト: wonook/reef
        public void OnNext(ITaskStop value)
        {
            SimulatedTaskFailure ex = new SimulatedTaskFailure("FailTaskStop Failure.");

            Log.Log(Level.Info, "FailTaskStop.onNext() invoked. Raise exception: {0}", ex);
            throw ex;
        }