Skip to content

Commit fc20ba7

Browse files
authored
fix: Include !isAbsolute IRI in IllegalArgumentException of ValidatingValueFactory
1 parent c259fdf commit fc20ba7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/model/src/main/java/org/eclipse/rdf4j/model/impl/ValidatingValueFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public ValidatingValueFactory(ValueFactory delegate) {
6969
public IRI createIRI(String iri) {
7070
try {
7171
if (!new ParsedIRI(iri).isAbsolute()) {
72-
throw new IllegalArgumentException("IRI must be absolute");
72+
throw new IllegalArgumentException("IRI must be absolute: " + iri);
7373
}
7474
return delegate.createIRI(iri);
7575
} catch (URISyntaxException e) {

0 commit comments

Comments
 (0)