source/Core/Database/Adapter/Doctrine/Database.php
protected function createConnectionErrorMessage($connection)
    {
        $message =
            'Not connected to database. dsn: ' .
            $connection->getDriver()->getName() .
            '://' .
            '****:****@' .
            $connection->getHost() . ':' . $connection->getPort() .
            '/' . $connection->getDatabase();

        return $message;
    }
protected function createConnectionErrorMessage($connection)
    {
        $message =
            'Not connected to database. dsn: ' .
            $connection->getDriver()->getName() .
            '://' .
            '****:****@' .
            $connection->getHost() . ':' . $connection->getPort() .
            '/' . $connection->getDatabase();

        return $message;
    }
protected function createConnectionErrorMessage ( $ connection ) { $ message = 'Not connected to database. dsn: ' . $ connection -> getDriver ( ) -> getName ( ) . '://' . '****:****@' . $ connection -> getHost ( ) . ':' . $ connection -> getPort ( ) . '/' . $ connection -> getDatabase ( ) ; return $ message ; }
Create the message we want to throw, if there was a connection error.

@param Connection $connection The connection.

@return string The message we want throw if there was a connection error.
Create the message we want to throw if there was a connection error .