From 69a36b8beab76ad176a20554d692e89d62f8919b Mon Sep 17 00:00:00 2001 From: Norman Maurer Date: Thu, 13 Feb 2014 06:46:51 +0100 Subject: [PATCH] Prettify exception message --- transport/src/main/java/io/netty/channel/nio/NioEventLoop.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transport/src/main/java/io/netty/channel/nio/NioEventLoop.java b/transport/src/main/java/io/netty/channel/nio/NioEventLoop.java index 45cf3770e7..45a4977b3a 100644 --- a/transport/src/main/java/io/netty/channel/nio/NioEventLoop.java +++ b/transport/src/main/java/io/netty/channel/nio/NioEventLoop.java @@ -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; }