InvalidArgumentException
private function ensureNanoSecondsInRange(int $nanoseconds) : void { if ($nanoseconds > 999999999) { throw new InvalidArgumentException('Value for nanoseconds must not be greater than 999999999.'); } }