We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79f4e6f commit eb99606Copy full SHA for eb99606
driver-async/src/main/com/mongodb/async/client/AbstractSubscription.java
@@ -62,7 +62,7 @@ public boolean isUnsubscribed() {
62
@Override
63
public void request(final long n) {
64
if (n < 1) {
65
- throw new IllegalArgumentException("Number requested cannot be negative: " + n);
+ throw new IllegalArgumentException("Number requested must be > 0: " + n);
66
}
67
68
boolean requestData = false;
0 commit comments