Skip to content

Commit 70ab4b6

Browse files
committed
Merge branch 'merge_main_into_develop_after_release_4.3.10' into merge-main-4310
# Conflicts: # core/collection-factory/mapdb3/pom.xml # core/common/order/pom.xml # testsuites/shacl/pom.xml
2 parents 5e9dd5b + 6960bef commit 70ab4b6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

+1-1
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) {

core/sail/nativerdf/src/main/java/org/eclipse/rdf4j/sail/nativerdf/ValueStore.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ private NativeValue data2value(int id, byte[] data) throws IOException {
534534
case LITERAL_VALUE:
535535
return data2literal(id, data);
536536
default:
537-
throw new IllegalArgumentException("Namespaces cannot be converted into values: " + data2namespace(data));
537+
throw new IllegalArgumentException("Invalid type " + data[0] + " for value with id " + id);
538538
}
539539
}
540540

0 commit comments

Comments
 (0)