public function __construct($type, $extendedInfo) { $this->extendedInfo = $extendedInfo; parent::__construct(sf('%s: Failed to connection to the database server', $type)); }
public function __construct() { parent::__construct('No Database Connection'); }
public function __construct($extendedInfo) { $this->extendedInfo = $extendedInfo; parent::__construct('Unexpected result from database query'); }
public function __construct($extendedInfo) { $this->extendedInfo = $extendedInfo; parent::__construct('Database query failed'); }