BitSharp.Core.Workers.UnconfirmedTxesWorker.HandleException C# (CSharp) Method

HandleException() private method

private HandleException ( Exception ex ) : void
ex System.Exception
return void
        private void HandleException(Exception ex)
        {
            var missingException = ex as MissingDataException;
            if (missingException != null)
            {
                var missingBlockHash = (UInt256)missingException.Key;
                BlockMissed?.Invoke(this, missingBlockHash);
            }
            else
            {
                logger.Warn(ex, "UnconfirmedTxesWorker exception.");
            }
        }