@Override public Object handle(CommandMessage<Object> command, UnitOfWork unitOfWork) throws Throwable { try { repository.add(handler.invoke(null, command)); } catch (InvocationTargetException e) { throw e.getCause(); } return null; }