typo
author文武 <wenwu@ofcard.com>
Thu, 18 Feb 2016 06:13:37 +0000 (14:13 +0800)
committer文武 <wenwu@ofcard.com>
Thu, 18 Feb 2016 06:13:37 +0000 (14:13 +0800)
README.md
src/main/java/com/ofpay/dubbo/rpc/protocol/jsonrpc/JsonRpcProtocol.java

index 7f0c5c1..8358d46 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-[![Build Status](https://travis-ci.org/ofpay/dubbo-rpc-jsonrpc.svg)](https://travis-ci.org/ofpay/dubbo-rpc-jsonrpc)
+[![Build Status](https://travis-ci.org/QianmiOpen/dubbo-rpc-jsonrpc.svg)](https://travis-ci.org/QianmiOpen/dubbo-rpc-jsonrpc)
 
 
 
index f7b27f7..bda7d1d 100644 (file)
@@ -89,11 +89,7 @@ public class JsonRpcProtocol extends AbstractProxyProtocol {
         jsonProxyFactoryBean.setServiceInterface(serviceType);
 
         jsonProxyFactoryBean.afterPropertiesSet();
-        try {
-            return (T) jsonProxyFactoryBean.getObject();
-        } catch (Exception e) {
-            throw new RpcException(e);
-        }
+        return (T) jsonProxyFactoryBean.getObject();
     }
 
     protected int getErrorCode(Throwable e) {