If the default namepace is not correct for linked data, log a warning instead of throwing an exception.

This commit is contained in:
jeb228 2010-06-28 19:36:49 +00:00
parent 12a79ea928
commit 0f6fd1b39a

View file

@ -32,9 +32,8 @@ public class FileServingHelper {
} }
if (!defaultNamespace.endsWith(DEFAULT_PATH)) { if (!defaultNamespace.endsWith(DEFAULT_PATH)) {
throw new IllegalArgumentException( log.warn("Default namespace does not match the expected form: '"
"Default namespace does not match the expected form: '" + defaultNamespace + "'");
+ defaultNamespace + "'");
} }
return defaultNamespace; return defaultNamespace;