From 927c4ee8cb834ee5244473e307c153a1ba95f97a Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Wed, 25 Jul 2012 20:51:06 +0200 Subject: [PATCH] Minor typo in exception message --- .../java/io/netty/channel/DefaultChannelHandlerContext.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transport/src/main/java/io/netty/channel/DefaultChannelHandlerContext.java b/transport/src/main/java/io/netty/channel/DefaultChannelHandlerContext.java index a181b1a0bc..e025f35ea5 100644 --- a/transport/src/main/java/io/netty/channel/DefaultChannelHandlerContext.java +++ b/transport/src/main/java/io/netty/channel/DefaultChannelHandlerContext.java @@ -240,7 +240,7 @@ final class DefaultChannelHandlerContext extends DefaultAttributeMap implements } if (buf == null) { - throw new ChannelPipelineException("A user handler's newInboundBuffer() returned null"); + throw new ChannelPipelineException("A user handler's newOutboundBuffer() returned null"); } if (buf instanceof ByteBuf) {