Exception for when {@link RdfGenerator} operations cannot be performed
108109110111112113114115116117118
Field aIdField = null; for (Field aField : getAllDeclaredFields(theClass)) { if (aField.getAnnotation(RdfId.class) != null) { if (aIdField != null) { throw new InvalidRdfException("Cannot have multiple id properties"); } else { aIdField = aField; } }