提交 3f5bbd1f 编写于 作者: W william.liangf

修改异常信息文本

git-svn-id: http://code.alibabatech.com/svn/dubbo/trunk@1717 1a56cb94-b969-4eaa-88fa-be21384802f2
上级 e9817e56
......@@ -109,7 +109,7 @@ public class DubboInvoker<T> extends AbstractInvoker<T> {
} catch (TimeoutException e) {
throw new RpcException(RpcException.TIMEOUT_EXCEPTION, "Invoke remote method timeout. method: " + invocation.getMethodName() + ", provider: " + getUrl() + ", cause: " + e.getMessage(), e);
} catch (RemotingException e) {
throw new RpcException(RpcException.NETWORK_EXCEPTION, "Can not connect to prvoider. method: " + invocation.getMethodName() + ", provider: " + getUrl() + ", cause: " + e.getMessage(), e);
throw new RpcException(RpcException.NETWORK_EXCEPTION, "Failed to invoke remote method: " + invocation.getMethodName() + ", provider: " + getUrl() + ", cause: " + e.getMessage(), e);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册