[ 
https://issues.apache.org/jira/browse/JENA-1158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16400577#comment-16400577
 ] 

ASF GitHub Bot commented on JENA-1158:
--------------------------------------

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`.


> Provide unionDefaultGraph for all graphs.
> -----------------------------------------
>
>                 Key: JENA-1158
>                 URL: https://issues.apache.org/jira/browse/JENA-1158
>             Project: Apache Jena
>          Issue Type: Improvement
>          Components: ARQ
>    Affects Versions: Jena 3.0.1
>            Reporter: Andy Seaborne
>            Assignee: Andy Seaborne
>            Priority: Major
>             Fix For: Jena 3.1.1
>
>
> Provide "unionDefaultGraph" for all graphs.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to