public function __construct($value, \Exception $previous = null) { $message = str("Non-scalar value when expecting scalar value"); parent::__construct($value, $message, 0, $previous); }
public function __construct($value, \Exception $previous = null) { parent::__construct($value, "Not a valid string value", 0, $previous); }
public function __construct($array, $dimension, \Exception $previous = null) { $message = str("Dimension \"{0}\" was not found."); parent::__construct($array, $message, 0, $previous); }
public function __construct($headername, Response $response, \Exception $previous = null) { $message = sprintf("Header \"%s\" does not exist", $headername); parent::__construct($response, $message, 0, $previous); }