}
if (null != command) {
response = command.getEmptyCommandResponse();
response.setId(id);
try {
command.execute(request, response);
} catch (Throwable throwable) { //NOPMD
log.error("Error executing command", throwable);
response.getErrors().add(throwable);
}
} else {