Class 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 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)