Prettify exception message
This commit is contained in:
parent
0ad029bf96
commit
657af70576
@ -212,7 +212,7 @@ public final class NioEventLoop extends SingleThreadEventLoop {
|
||||
*/
|
||||
public void setIoRatio(int ioRatio) {
|
||||
if (ioRatio <= 0 || ioRatio > 100) {
|
||||
throw new IllegalArgumentException("ioRatio: " + ioRatio + " (expected: 0 < ioRatio < 101)");
|
||||
throw new IllegalArgumentException("ioRatio: " + ioRatio + " (expected: 0 < ioRatio <= 100)");
|
||||
}
|
||||
this.ioRatio = ioRatio;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user