@Override public RenameResponseProto rename(RpcController controller, RenameRequestProto req) throws ServiceException { try { boolean result = server.rename(req.getSrc(), req.getDst()); return RenameResponseProto.newBuilder().setResult(result).build(); } catch (IOException e) { throw new ServiceException(e); } }