com.alibaba.tmq.common.exception.RemotingTimeoutException Maven / Gradle / Ivy
package com.alibaba.tmq.common.exception;
public class RemotingTimeoutException extends RemotingException {
private static final long serialVersionUID = 4106899185095245979L;
public RemotingTimeoutException(String message) {
super(message);
}
public RemotingTimeoutException(String addr, long timeoutMillis) {
this(addr, timeoutMillis, null);
}
public RemotingTimeoutException(String addr, long timeoutMillis, Throwable cause) {
super("wait response on the channel <" + addr + "> timeout, " + timeoutMillis + "(ms)", cause);
}
}