code: private Serializable executeCommand(RemoteCommand command, Serializable... args) throws RPCException
     {
        try
        {
           return command.execute(args);
        }
        catch (Throwable e)//NOSONAR
        {
           throw new RPCException(e.getMessage(), e);
        }
     }
docs: Command executing.