提交 a7e77d28 编写于 作者: 周浪 提交者: von gosling

modify exception declaration

modify "TimeDelayLevel in not supported for batching"
上级 38a4e4ba
......@@ -46,7 +46,7 @@ public class MessageBatch extends Message implements Iterable<Message> {
Message first = null;
for (Message message : messages) {
if (message.getDelayTimeLevel() > 0) {
throw new UnsupportedOperationException("TimeDelayLevel in not supported for batching");
throw new UnsupportedOperationException("TimeDelayLevel is not supported for batching");
}
if (message.getTopic().startsWith(MixAll.RETRY_GROUP_TOPIC_PREFIX)) {
throw new UnsupportedOperationException("Retry Group is not supported for batching");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册