Package org.eclipse.rdf4j.sail.shacl.ast
Class ShaclSparqlConstraintFailureException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.eclipse.rdf4j.common.exception.RDF4JException
-
- org.eclipse.rdf4j.sail.shacl.ast.ShaclSparqlConstraintFailureException
-
- All Implemented Interfaces:
java.io.Serializable
public class ShaclSparqlConstraintFailureException extends RDF4JException
An exception thrown when the ?failure var is true for a SPARQL constraint select query.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private Resource[]
dataGraph
private Value
focusNode
private java.lang.String
query
private BindingSet
resultBindingSet
private Shape
shape
-
Constructor Summary
Constructors Constructor Description ShaclSparqlConstraintFailureException(Shape shape, java.lang.String query, BindingSet resultBindingSet, Value focusNode, Resource[] dataGraph)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Resource[]
getDataGraph()
Value
getFocusNode()
java.lang.String
getQuery()
BindingSet
getResultBindingSet()
java.lang.String
getShape()
private static java.lang.String
resourceToString(Resource id)
private static java.lang.String
valueToString(Value value)
-
-
-
Field Detail
-
shape
private final Shape shape
-
query
private final java.lang.String query
-
resultBindingSet
private final BindingSet resultBindingSet
-
focusNode
private final Value focusNode
-
dataGraph
private final Resource[] dataGraph
-
-
Constructor Detail
-
ShaclSparqlConstraintFailureException
public ShaclSparqlConstraintFailureException(Shape shape, java.lang.String query, BindingSet resultBindingSet, Value focusNode, Resource[] dataGraph)
-
-
Method Detail
-
getShape
public java.lang.String getShape()
-
getQuery
public java.lang.String getQuery()
-
getResultBindingSet
public BindingSet getResultBindingSet()
-
getFocusNode
public Value getFocusNode()
-
getDataGraph
public Resource[] getDataGraph()
-
resourceToString
private static java.lang.String resourceToString(Resource id)
-
valueToString
private static java.lang.String valueToString(Value value)
-
-