You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by ok...@apache.org on 2016/05/12 13:14:24 UTC
[04/13] incubator-tinkerpop git commit: Broaden catch for computePath.
Broaden catch for computePath.
I'm getting `java.lang.IllegalArgumentException: URI is not hierarchical`, on OS/X, but don't get any context, therefore broaden the catch.
Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/336ca129
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/336ca129
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/336ca129
Branch: refs/heads/TINKERPOP-1281
Commit: 336ca12981c90a98be265539f3ca5e3f5b49a4a8
Parents: 690db2f
Author: Mathias Bogaert <ma...@gmail.com>
Authored: Tue May 10 19:18:31 2016 +0100
Committer: Mathias Bogaert <ma...@gmail.com>
Committed: Tue May 10 19:18:31 2016 +0100
----------------------------------------------------------------------
.../src/main/java/org/apache/tinkerpop/gremlin/TestHelper.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/336ca129/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/TestHelper.java
----------------------------------------------------------------------
diff --git a/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/TestHelper.java b/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/TestHelper.java
index a3c252f..f824ade 100644
--- a/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/TestHelper.java
+++ b/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/TestHelper.java
@@ -113,7 +113,7 @@ public final class TestHelper {
String clsPath;
try {
clsPath = new File(url.toURI()).getAbsolutePath();
- } catch (URISyntaxException e) {
+ } catch (Exception e) {
throw new RuntimeException("Unable to computePath for " + clazz, e);
}
return clsPath.substring(0, clsPath.length() - clsUri.length());