示例#1
0
 public function __construct($code, $message, $query = null, \Exception $previous_exception = null)
 {
     parent::__construct($code, $message, $query, $previous_exception);
 }
示例#2
0
 public function __construct(Core\Query $query, \Exception $previous_exception = null)
 {
     parent::__construct('QUERY_EXCEPTION', 'Query error: ' . $query->error, $query, $previous_exception);
 }