Blacker.MangaScraper.Library.SQLite.SQLiteDALBase.RollbackTransaction C# (CSharp) Method

RollbackTransaction() protected method

protected RollbackTransaction ( System.Data.SQLite.SQLiteTransaction transaction ) : void
transaction System.Data.SQLite.SQLiteTransaction
return void
        protected void RollbackTransaction(SQLiteTransaction transaction)
        {
            try
            {
                transaction.Rollback();
            }
            catch (Exception ex)
            {
                _log.Error("Unable to rollback transaction.", ex);

                throw new StorageException("Unable to rollback transaction.", ex);
            }
        }