com.github.fartherp.framework.remoting.exception.RemotingTimeoutException Maven / Gradle / Ivy
/*
* Copyright (c) 2017. CK. All rights reserved.
*/
package com.github.fartherp.framework.remoting.exception;
/**
* @author hyssop
*/
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);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy