throw new IllegalArgumentException("JSON description of entity doesn't contain valid 'id' attribute"); Entity instance = createEmptyInstance(loadInfo); setField(instance, "id", loadInfo.getId());
throw new IllegalArgumentException("JSON description of entity doesn't contain valid 'id' attribute"); Entity instance = createEmptyInstance(loadInfo); setField(instance, "id", loadInfo.getId());