/** * Constructor * * @param string message * @param int number * @param int state * @param int class * @param string server * @param string proc * @param int line */ public function __construct($message, $number = 0, $state = 0, $class = 0, $server = NULL, $proc = NULL, $line = 0) { parent::__construct($message); $this->number = $number; $this->state = $state; $this->class = $class; $this->server = $server; $this->proc = $proc; $this->line = $line; }
public function __construct($response) { parent::__construct(sprintf('Certificate request failed (response: %s)', $response)); }
public function __construct() { parent::__construct("AbstractFrame end byte is invalid."); }
public function __construct(\Exception $previous = null) { parent::__construct('This ACME server does not expose supported challenge.', $previous); }
public function __construct($classId, $methodId) { parent::__construct("Unhandled method frame method '{$methodId}' in class '{$classId}'."); $this->classId = $classId; $this->methodId = $methodId; }
public function __construct($response, \Exception $previous = null) { parent::__construct(sprintf('Challenge timed out (response: %s).', json_encode($response)), $previous); $this->response = $response; }
/** * Constructor * * @param string message * @param int error * @param string sqlstate */ public function __construct($message, $error, $sqlstate) { parent::__construct($message); $this->error = $error; $this->sqlstate = $sqlstate; }