db =& DB::connect($dsn); if (DB::isError($this->db)) { throw new Example_Datasource_Exception( "Unable to connect to $dsn:" . $this->db->getMessage() ); } } ?>