diff --git a/src/org/redkale/net/AsyncConnection2.java b/src/org/redkale/net/AsyncConnection2.java index 469d29a71..ea9dd54a2 100644 --- a/src/org/redkale/net/AsyncConnection2.java +++ b/src/org/redkale/net/AsyncConnection2.java @@ -118,7 +118,7 @@ public abstract class AsyncConnection2 implements ReadableByteChannel, WritableB public abstract void write(ByteBuffer[] srcs, int offset, int length, A attachment, CompletionHandler handler); public void setReadBuffer(ByteBuffer buffer) { - if (this.readBuffer != null) throw new RuntimeException("repeat AsyncConnection.currentReadBuffer"); + if (this.readBuffer != null) throw new RuntimeException("repeat AsyncConnection.setReadBuffer"); this.readBuffer = buffer; }