}
if(objAnswer != null) {
ERROR objError = objAnswer.getERROR();
if(objError != null) {
throw new JSCommandErrorException(objError.getText());
}
List<HistoryEntry> objHistoryEntries = objAnswer.getHistory().getHistoryEntry();
if(objHistoryEntries.size() == 0) {
logger.error(String.format("no history entry found for %1$s", strJobName));
throw new JobSchedulerException(String.format("no history entry found for %1$s", strJobName));