You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by sa...@apache.org on 2012/09/18 23:40:45 UTC

svn commit: r1387368 - /jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/store/GraphNamedTDB.java

Author: sallen
Date: Tue Sep 18 21:40:45 2012
New Revision: 1387368

URL: http://svn.apache.org/viewvc?rev=1387368&view=rev
Log:
Slightly better exception message when you attempt to use a graph name that isn't a URI.

Modified:
    jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/store/GraphNamedTDB.java

Modified: jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/store/GraphNamedTDB.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/store/GraphNamedTDB.java?rev=1387368&r1=1387367&r2=1387368&view=diff
==============================================================================
--- jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/store/GraphNamedTDB.java (original)
+++ jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/store/GraphNamedTDB.java Tue Sep 18 21:40:45 2012
@@ -62,7 +62,7 @@ public class GraphNamedTDB extends Graph
         if ( graphName == null )
             throw new TDBException("GraphNamedTDB: Null graph name") ; 
         if ( ! graphName.isURI() )
-            throw new TDBException("GraphNamedTDB: Graph name not a URI") ; 
+            throw new TDBException("GraphNamedTDB: Graph name not a URI - " + graphName.toString()) ; 
     }
 
     @Override