@SuppressWarnings("unchecked")
  public static <T extends Service> T newServiceStub(Class<T> service, RpcChannel channel)
    throws Exception {
    return (T) Methods.call(service, null, "newStub", new Class[] { RpcChannel.class },
      new Object[] { channel });
  }
Convert a stringified protocol buffer exception Parameter to a Java Exception
@param parameter the protocol buffer Parameter to convert
@return the converted Exception
@throws IOException if failed to deserialize the parameter
hbase-client/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/ProtobufUtil.java