tinkerpop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spmalle...@apache.org
Subject [1/3] incubator-tinkerpop git commit: Broaden catch for computePath.
Date Thu, 12 May 2016 11:07:03 GMT
Repository: incubator-tinkerpop
Updated Branches:
  refs/heads/master c0d65b900 -> 8a6d49d67


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/master
Commit: 336ca12981c90a98be265539f3ca5e3f5b49a4a8
Parents: 690db2f
Author: Mathias Bogaert <mathias.bogaert@gmail.com>
Authored: Tue May 10 19:18:31 2016 +0100
Committer: Mathias Bogaert <mathias.bogaert@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());


Mime
View raw message