jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sal...@apache.org
Subject svn commit: r1387368 - /jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/store/GraphNamedTDB.java
Date Tue, 18 Sep 2012 21:40:45 GMT
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



Mime
View raw message