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