/** * @param string $coords * @param int $code * @param \Exception $previous */ public function __construct($coords = '', $code = 0, \Exception $previous = null) { $message = sprintf('Invalid coordinates provided: %s', $coords); parent::__construct($message, $code, $previous); }
/** * @param string $offset * @param int $code * @param \Exception $previous */ public function __construct($offset = '', $code = 0, \Exception $previous = null) { $message = sprintf('Invalid offset provided: %s', $offset); parent::__construct($message, $code, $previous); }