src/Ubiquity/db/Database.php
public function connect() {
		try {
			$this->_connect ();
			return true;
		} catch ( \PDOException $e ) {
			throw new DBException ( $e->getMessage (), $e->getCode (), $e->getPrevious () );
		}
	}
public function connect() {
		try {
			$this->_connect ();
			return true;
		} catch ( \PDOException $e ) {
			throw new DBException ( $e->getMessage (), $e->getCode (), $e->getPrevious () );
		}
	}
public function connect ( ) { try { $ this -> _connect ( ) ; return true ; } catch ( \ PDOException $ e ) { throw new DBException ( $ e -> getMessage ( ) , $ e -> getCode ( ) , $ e -> getPrevious ( ) ) ; } }
Creates the PDO instance and realize a safe connection.

@throws DBException
@return boolean
Creates the PDO instance and realize a safe connection .