Class DocumentNotFoundException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.jena.shared.JenaException
org.apache.jena.sparql.ARQException
fr.mines_stetienne.ci.sparql_generate.SPARQLExtException
fr.mines_stetienne.ci.sparql_generate.stream.DocumentNotFoundException
All Implemented Interfaces:
Serializable

public class DocumentNotFoundException extends SPARQLExtException
Thrown by a SPARQLExtStreamManager that fails on missing documents (see SPARQLExtStreamManager.setFailOnMissingDocument(boolean)) when no locator finds a document. It is not an expression evaluation error: it stops the execution.
See Also:
  • Constructor Details

    • DocumentNotFoundException

      public DocumentNotFoundException(String uri)
  • Method Details

    • getUri

      public String getUri()
      Returns:
      the IRI or file name of the document that was looked up.
    • findIn

      public static DocumentNotFoundException findIn(Throwable ex)
      Parameters:
      ex - an exception
      Returns:
      the DocumentNotFoundException in the causes of the exception, itself included, or null.