try {
return new URI(value);
} catch (URISyntaxException e) {
- throw new SourceException(ctx.getStatementSourceReference(), e, "Invalid namespace \"%s\"", value);
+ throw new SourceException(ctx.sourceReference(), e, "Invalid namespace \"%s\"", value);
}
}