/**
  * @param ISqlQuery $query
  * @param string $errormsg
  */
 function __construct(ISqlQuery $query, $errormsg)
 {
     parent::__construct($query, $errormsg, 0);
 }
 /**
  * @param ISqlQuery $query
  * @param string $errormsg
  * @param scalar $errorno
  */
 function __construct(ISqlQuery $query, $errormsg, $errorno)
 {
     $this->sqlState = $errorno;
     parent::__construct($query, $errormsg, 0);
 }