[
https://issues.apache.org/jira/browse/JENA-1158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16400967#comment-16400967
]
ASF GitHub Bot commented on JENA-1158:
--------------------------------------
Github user afs commented on a diff in the pull request:
https://github.com/apache/jena/pull/384#discussion_r174896205
--- 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 --
It's pushing the "contract". "Denied" suggests to me that it could work in
other circumstances but the tests said this was expected so this is what you
get.
> 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)