From fc20ba7f89e142c9400b1c124ada49f3f185f7a6 Mon Sep 17 00:00:00 2001 From: Michael Vorburger Date: Sat, 24 Feb 2024 18:52:06 +0100 Subject: [PATCH] fix: Include !isAbsolute IRI in IllegalArgumentException of ValidatingValueFactory --- .../org/eclipse/rdf4j/model/impl/ValidatingValueFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/model/src/main/java/org/eclipse/rdf4j/model/impl/ValidatingValueFactory.java b/core/model/src/main/java/org/eclipse/rdf4j/model/impl/ValidatingValueFactory.java index 437c97221a0..ff5d5d419b2 100644 --- a/core/model/src/main/java/org/eclipse/rdf4j/model/impl/ValidatingValueFactory.java +++ b/core/model/src/main/java/org/eclipse/rdf4j/model/impl/ValidatingValueFactory.java @@ -69,7 +69,7 @@ public ValidatingValueFactory(ValueFactory delegate) { public IRI createIRI(String iri) { try { if (!new ParsedIRI(iri).isAbsolute()) { - throw new IllegalArgumentException("IRI must be absolute"); + throw new IllegalArgumentException("IRI must be absolute: " + iri); } return delegate.createIRI(iri); } catch (URISyntaxException e) {