/** * */ public IFuture<T> execute(IEvent event, IRule<T> rule, Object context, Object condresult) { try { return command.execute(new CommandData(event, rule, context, condresult)); } catch(Exception e) { return new Future<T>(e); // throw new RuntimeException(e); } }