Skip to content

Commit 93d6831

Browse files
authored
Merge pull request #1 from alibaba/master
update alibaba-dubbo
2 parents 7115f2f + c60a823 commit 93d6831

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dubbo-rpc/dubbo-rpc-memcached/src/main/java/com/alibaba/dubbo/rpc/protocol/memcached/MemcachedProtocol.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ protected Result doInvoke(Invocation invocation) throws Throwable {
9191
throw new UnsupportedOperationException("Unsupported method " + invocation.getMethodName() + " in memcached service.");
9292
}
9393
} catch (Throwable t) {
94-
RpcException re = new RpcException("Failed to invoke memecached service method. interface: " + type.getName() + ", method: " + invocation.getMethodName() + ", url: " + url + ", cause: " + t.getMessage(), t);
94+
RpcException re = new RpcException("Failed to invoke memcached service method. interface: " + type.getName() + ", method: " + invocation.getMethodName() + ", url: " + url + ", cause: " + t.getMessage(), t);
9595
if (t instanceof TimeoutException || t instanceof SocketTimeoutException) {
9696
re.setCode(RpcException.TIMEOUT_EXCEPTION);
9797
} else if (t instanceof MemcachedException || t instanceof IOException) {
@@ -110,7 +110,7 @@ public void destroy() {
110110
}
111111
};
112112
} catch (Throwable t) {
113-
throw new RpcException("Failed to refer memecached service. interface: " + type.getName() + ", url: " + url + ", cause: " + t.getMessage(), t);
113+
throw new RpcException("Failed to refer memcached service. interface: " + type.getName() + ", url: " + url + ", cause: " + t.getMessage(), t);
114114
}
115115
}
116116

dubbo-rpc/dubbo-rpc-redis/src/main/java/com/alibaba/dubbo/rpc/protocol/redis/RedisProtocol.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ protected Result doInvoke(Invocation invocation) throws Throwable {
132132
}
133133
}
134134
catch (Throwable t) {
135-
RpcException re = new RpcException("Failed to invoke memecached service method. interface: " + type.getName() + ", method: " + invocation.getMethodName() + ", url: " + url + ", cause: " + t.getMessage(), t);
135+
RpcException re = new RpcException("Failed to invoke redis service method. interface: " + type.getName() + ", method: " + invocation.getMethodName() + ", url: " + url + ", cause: " + t.getMessage(), t);
136136
if (t instanceof TimeoutException || t instanceof SocketTimeoutException) {
137137
re.setCode(RpcException.TIMEOUT_EXCEPTION);
138138
} else if (t instanceof JedisConnectionException || t instanceof IOException) {
@@ -164,7 +164,7 @@ public void destroy() {
164164
}
165165
};
166166
} catch (Throwable t) {
167-
throw new RpcException("Failed to refer memecached service. interface: " + type.getName() + ", url: " + url + ", cause: " + t.getMessage(), t);
167+
throw new RpcException("Failed to refer redis service. interface: " + type.getName() + ", url: " + url + ", cause: " + t.getMessage(), t);
168168
}
169169
}
170170

0 commit comments

Comments
 (0)