Bloom.Book.BookStorage.ProcessAccessDeniedError C# (CSharp) Method

ProcessAccessDeniedError() private method

private ProcessAccessDeniedError ( UnauthorizedAccessException error ) : void
error System.UnauthorizedAccessException
return void
        private void ProcessAccessDeniedError(UnauthorizedAccessException error)
        {
            var message = LocalizationManager.GetString("Errors.DeniedAccess",
                "Your computer denied Bloom access to the book. You may need technical help in setting the operating system permissions for this file.");
            message += Environment.NewLine + error.Message;
            ErrorMessagesHtml = WebUtility.HtmlEncode(message);
            Logger.WriteEvent("*** ERROR: " + message);
            _errorAlreadyContainsInstructions = true;
        }