Class ShaclSparqlConstraintFailureException

All Implemented Interfaces:
Serializable

public class ShaclSparqlConstraintFailureException extends RDF4JException
An exception thrown when the ?failure var is true for a SPARQL constraint select query.
See Also:
  • Field Details

    • shape

      private final Shape shape
    • query

      private final String query
    • resultBindingSet

      private final BindingSet resultBindingSet
    • focusNode

      private final Value focusNode
    • dataGraph

      private final Resource[] dataGraph
  • Constructor Details

    • ShaclSparqlConstraintFailureException

      public ShaclSparqlConstraintFailureException(Shape shape, String query, BindingSet resultBindingSet, Value focusNode, Resource[] dataGraph)
  • Method Details

    • getShape

      public String getShape()
    • getQuery

      public String getQuery()
    • getResultBindingSet

      public BindingSet getResultBindingSet()
    • getFocusNode

      public Value getFocusNode()
    • getDataGraph

      public Resource[] getDataGraph()
    • resourceToString

      private static String resourceToString(Resource id)
    • valueToString

      private static String valueToString(Value value)