Package org.eclipse.rdf4j.sail.shacl
Class ShaclSailValidationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.eclipse.rdf4j.common.exception.RDF4JException
-
- org.eclipse.rdf4j.sail.SailException
-
- org.eclipse.rdf4j.sail.shacl.ShaclSailValidationException
-
- All Implemented Interfaces:
java.io.Serializable
,ValidationException
public class ShaclSailValidationException extends SailException implements ValidationException
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private ValidationReport
validationReport
-
Constructor Summary
Constructors Constructor Description ShaclSailValidationException(ValidationReport validationReport)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ValidationReport
getValidationReport()
Deprecated.The returned ValidationReport is planned to be moved to a different package and this method is planned to return that class.Model
validationReportAsModel()
-
-
-
Field Detail
-
validationReport
private final ValidationReport validationReport
-
-
Constructor Detail
-
ShaclSailValidationException
ShaclSailValidationException(ValidationReport validationReport)
-
-
Method Detail
-
validationReportAsModel
public Model validationReportAsModel()
- Specified by:
validationReportAsModel
in interfaceValidationException
- Returns:
- A Model containing the validation report as specified by the SHACL Recommendation
-
getValidationReport
@Deprecated public ValidationReport getValidationReport()
Deprecated.The returned ValidationReport is planned to be moved to a different package and this method is planned to return that class.- Returns:
- A ValidationReport Java object that describes what failed and can optionally be converted to a Model as specified by the SHACL Recommendation
-
-