/** * Construct the exception. * @param string Message describing the exception * @param int Some code * @param string SQL command */ public function __construct($message = NULL, $code = 0, $severity = NULL, $sql = NULL) { parent::__construct($message, (int) $code, $sql); $this->severity = $severity; }
/** * Constructs an exception above DibiException * @param string $message Expcetion message * @return Exception */ public function __construct($message) { return parent::__construct($message, 0); }
/** * Construct an dibi driver exception. * * @param string Message describing the exception * @param int Some code * @param string SQL command */ public function __construct($message = NULL, $code = 0, $sql = NULL) { parent::__construct($message, (int) $code); $this->sql = $sql; dibi::notify(NULL, 'exception', $this); }
public function __construct($message = NULL, $code = 0, $sql = NULL) { parent::__construct($message, (int) $code); $this->sql = $sql; }