Github user ajs6f commented on a diff in the pull request:

    https://github.com/apache/jena/pull/384#discussion_r174826544
  
    --- Diff: jena-arq/src/main/java/org/apache/jena/sparql/core/GraphView.java 
---
    @@ -146,7 +148,7 @@ private static Node graphNode(Node gn) {
         public void performAdd( Triple t ) { 
             Node g = graphNode(gn) ;
             if ( Quad.isUnionGraph(g) )
    -            throw new GraphViewException("Can't update the default union 
graph of a dataset") ; 
    +            throw new AddDeniedException("Can't update the union graph of 
a dataset") ; 
    --- End diff --
    
    Holy moly, I had no idea we had these. II'm going to remember these, they 
are way more specific than `UnsupportedOperationException`.


---

Reply via email to