Exemplo n.º 1
0
                internal void Handle(StorageException exception)
                {
                    if (exception.RequestInformation.HttpStatusCode == (int)HttpStatusCode.PreconditionFailed)
                    {
                        throw ConcurrencyConflictException.StreamChanged(partition);
                    }

                    ExceptionDispatchInfo.Capture(exception).Throw();
                }
Exemplo n.º 2
0
                internal void Handle(CloudTable table, StorageException exception)
                {
                    if (exception.RequestInformation.HttpStatusCode == (int)HttpStatusCode.PreconditionFailed)
                    {
                        throw ConcurrencyConflictException.StreamChanged(partition);
                    }

                    throw exception.PreserveStackTrace();
                }