@@ -75,7 +75,7 @@ trait Scheduler {
7575 * If the `Runnable` throws an exception the repeated scheduling is aborted,
7676 * i.e. the function will not be invoked any more.
7777 *
78- * @throws java.lang.IllegalArgumentException if the given delays exceed the maximum
78+ * @throws java.lang.IllegalArgumentException if the given delays is zero, negative or exceed the maximum
7979 * reach (calculated as: `delay / tickNanos > Int.MaxValue`).
8080 *
8181 * Note: For scheduling within actors `with Timers` should be preferred.
@@ -116,7 +116,7 @@ trait Scheduler {
116116 * If the `Runnable` throws an exception the repeated scheduling is aborted,
117117 * i.e. the function will not be invoked any more.
118118 *
119- * @throws java.lang.IllegalArgumentException if the given delays exceed the maximum
119+ * @throws java.lang.IllegalArgumentException if the given delays is zero, negative or exceed the maximum
120120 * reach (calculated as: `delay / tickNanos > Int.MaxValue`).
121121 *
122122 * Note: For scheduling within actors `AbstractActorWithTimers` should be preferred.
@@ -215,7 +215,7 @@ trait Scheduler {
215215 * If the `Runnable` throws an exception the repeated scheduling is aborted,
216216 * i.e. the function will not be invoked any more.
217217 *
218- * @throws java.lang.IllegalArgumentException if the given delays exceed the maximum
218+ * @throws java.lang.IllegalArgumentException if the given delays is zero, negative or exceed the maximum
219219 * reach (calculated as: `delay / tickNanos > Int.MaxValue`).
220220 *
221221 * Note: For scheduling within actors `with Timers` should be preferred.
@@ -251,7 +251,7 @@ trait Scheduler {
251251 * If the `Runnable` throws an exception the repeated scheduling is aborted,
252252 * i.e. the function will not be invoked any more.
253253 *
254- * @throws java.lang.IllegalArgumentException if the given delays exceed the maximum
254+ * @throws java.lang.IllegalArgumentException if the given delays is zero, negative or exceed the maximum
255255 * reach (calculated as: `delay / tickNanos > Int.MaxValue`).
256256 *
257257 * Note: For scheduling within actors `AbstractActorWithTimers` should be preferred.
@@ -415,7 +415,7 @@ trait Scheduler {
415415 * Scala API: Schedules a message to be sent once with a delay, i.e. a time period that has
416416 * to pass before the message is sent.
417417 *
418- * @throws java.lang.IllegalArgumentException if the given delays exceed the maximum
418+ * @throws java.lang.IllegalArgumentException if the given delays is zero, negative or exceed the maximum
419419 * reach (calculated as: `delay / tickNanos > Int.MaxValue`).
420420 *
421421 * Note: For scheduling within actors `with Timers` should be preferred.
@@ -433,7 +433,7 @@ trait Scheduler {
433433 * Java API: Schedules a message to be sent once with a delay, i.e. a time period that has
434434 * to pass before the message is sent.
435435 *
436- * @throws java.lang.IllegalArgumentException if the given delays exceed the maximum
436+ * @throws java.lang.IllegalArgumentException if the given delays is zero, negative or exceed the maximum
437437 * reach (calculated as: `delay / tickNanos > Int.MaxValue`).
438438 *
439439 * Note: For scheduling within actors `AbstractActorWithTimers` should be preferred.
@@ -452,7 +452,7 @@ trait Scheduler {
452452 * Scala API: Schedules a function to be run once with a delay, i.e. a time period that has
453453 * to pass before the function is run.
454454 *
455- * @throws java.lang.IllegalArgumentException if the given delays exceed the maximum
455+ * @throws java.lang.IllegalArgumentException if the given delays is zero, negative or exceed the maximum
456456 * reach (calculated as: `delay / tickNanos > Int.MaxValue`).
457457 *
458458 * Note: For scheduling within actors `with Timers` should be preferred.
@@ -466,7 +466,7 @@ trait Scheduler {
466466 * Scala API: Schedules a Runnable to be run once with a delay, i.e. a time period that
467467 * has to pass before the runnable is executed.
468468 *
469- * @throws java.lang.IllegalArgumentException if the given delays exceed the maximum
469+ * @throws java.lang.IllegalArgumentException if the given delays is zero, negative or exceed the maximum
470470 * reach (calculated as: `delay / tickNanos > Int.MaxValue`).
471471 *
472472 * Note: For scheduling within actors `with Timers` should be preferred.
@@ -477,7 +477,7 @@ trait Scheduler {
477477 * Java API: Schedules a Runnable to be run once with a delay, i.e. a time period that
478478 * has to pass before the runnable is executed.
479479 *
480- * @throws java.lang.IllegalArgumentException if the given delays exceed the maximum
480+ * @throws java.lang.IllegalArgumentException if the given delays is zero, negative or exceed the maximum
481481 * reach (calculated as: `delay / tickNanos > Int.MaxValue`).
482482 *
483483 * Note: For scheduling within actors `AbstractActorWithTimers` should be preferred.
0 commit comments