/**
* This class represents a {@code fields} parameter as defined in
- * <a href="https://datatracker.ietf.org/doc/html/rfc8040#section-4.8.3">RFC8040 section 4.8.3</a>.
+ * <a href="https://www.rfc-editor.org/rfc/rfc8040#section-4.8.3">RFC8040 section 4.8.3</a>.
*/
@NonNullByDefault
public final class FieldsParam implements RestconfQueryParam<FieldsParam> {
try {
return parse(uriValue);
} catch (ParseException e) {
- throw new IllegalArgumentException(e.getMessage() + " [at offset " + e.getErrorOffset() + "]", e);
+ throw new IllegalArgumentException("Invalid " + uriName + " value: " + e.getMessage()
+ + " [at offset " + e.getErrorOffset() + "]", e);
}
}