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

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

        $this->_transactionPaused = true;
    }