Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge main into develop #4930

Merged
merged 8 commits into from
Mar 8, 2024
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ private NativeValue data2value(int id, byte[] data) throws IOException {
case LITERAL_VALUE:
return data2literal(id, data);
default:
throw new IllegalArgumentException("Namespaces cannot be converted into values: " + data2namespace(data));
throw new IllegalArgumentException("Invalid type " + data[0] + " for value with id " + id);
}
}

Expand Down
Loading