public function resume()
    {
        if (!$this->_activeTransaction) {
            throw new TransactionManagerException("There is no active transaction.");
        }

        if (!$this->_transactionPaused) {
            throw new TransactionManagerException("The transaction is not paused.");
        }

        $this->_transactionPaused = false;
    }