src/Native5/Core/Database/DB.php
public function rollBackTransaction() {
        // check that a transaction is really active
        if (!$this->getConnection(false)->inTransaction())
            throw new \Exception("Not inside a DB transaction. Cannot commit.");

        try {
            $this->getConnection(false)->rollBack();
        } catch (Exception $_e) {
            throw new \Exception("Error while rolling back DB transaction: ".$pe->getMessage());
        }
    }
public function rollBackTransaction() {
        // check that a transaction is really active
        if (!$this->getConnection(false)->inTransaction())
            throw new \Exception("Not inside a DB transaction. Cannot commit.");

        try {
            $this->getConnection(false)->rollBack();
        } catch (Exception $_e) {
            throw new \Exception("Error while rolling back DB transaction: ".$pe->getMessage());
        }
    }
public function rollBackTransaction ( ) { // check that a transaction is really active if ( ! $ this -> getConnection ( false ) -> inTransaction ( ) ) throw new \ Exception ( "Not inside a DB transaction. Cannot commit." ) ; try { $ this -> getConnection ( false ) -> rollBack ( ) ; } catch ( Exception $ _e ) { throw new \ Exception ( "Error while rolling back DB transaction: " . $ pe -> getMessage ( ) ) ; } }
rollBackTransaction Rollback begun database transaction

@access public
@return void
@throws Exception if not inside a transaction of if could not rollback transaction successfuly
rollBackTransaction Rollback begun database transaction