- Updated exception

This commit is contained in:
Sebastian Stenzel
2015-01-15 12:29:10 +01:00
parent 0aef60efc4
commit 0b64c7ce25

View File

@@ -95,7 +95,7 @@ public final class WebDavServer {
LOG.info("{} available on http://{}", workDir, uri.getRawSchemeSpecificPart());
return new ServletLifeCycleAdapter(servlet, uri);
} catch (URISyntaxException e) {
throw new IllegalArgumentException("Can't create URI from given workDir", e);
throw new IllegalStateException("Invalid hard-coded URI components.", e);
}
}