throw new NoHandlerForCommandException("No handler found for command " + command.getCommandName());
}
if (unitOfWork != null) {
unitOfWork.attachResource(ParameterResolverFactory.class.getName(), parameterResolverFactory);
}
return handler.invoke(target, command);
} catch (InvocationTargetException e) {
throw e.getCause();
}
}