diff --git a/src/main/java/org/jboss/netty/channel/DefaultChannelPipeline.java b/src/main/java/org/jboss/netty/channel/DefaultChannelPipeline.java index 57adf425b6..8cf19ca572 100644 --- a/src/main/java/org/jboss/netty/channel/DefaultChannelPipeline.java +++ b/src/main/java/org/jboss/netty/channel/DefaultChannelPipeline.java @@ -685,7 +685,7 @@ public class DefaultChannelPipeline implements ChannelPipeline { private void checkDuplicateName(String name) { if (name2ctx.containsKey(name)) { - throw new IllegalArgumentException("Duplicate handler name."); + throw new IllegalArgumentException("Duplicate handler name " + name); } }