提交 58d3144c 编写于 作者: W william.liangf

DUBBO-182 修改Failover调用出错信息

git-svn-id: http://code.alibabatech.com/svn/dubbo/trunk@840 1a56cb94-b969-4eaa-88fa-be21384802f2
上级 6604e13d
......@@ -87,10 +87,13 @@ public class FailoverClusterInvoker<T> extends AbstractClusterInvoker<T> {
providers.add(invoker.getUrl().getAddress());
}
}
throw new RpcException(le != null ? le.getCode() : 0,
"Tried " + len + " times of the providers " + providers + " from the registry " + directory.getUrl().getAddress() + " to invoke the method " + invocation.getMethodName() + " of the service " + getInterface().getName()
+ " on the consumer " + NetUtils.getLocalHost() + " using the dubbo version " + Version.getVersion()
+ ", but no luck to perform the invocation. Last error is: " + (le != null ? le.getMessage() : ""), le);
throw new RpcException(le != null ? le.getCode() : 0, "Tried " + len
+ " times of the providers " + providers + " from the registry "
+ directory.getUrl().getAddress() + " to invoke the method "
+ invocation.getMethodName() + " of the service " + getInterface().getName()
+ " on the consumer " + NetUtils.getLocalHost() + " using the dubbo version "
+ Version.getVersion() + ", but no luck to perform the invocation. Last error is: "
+ (le != null ? le.getMessage() : ""), le);
}
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册