## Uses of Class
org.eclipse.rdf4j.common.exception.RDF4JException

- Packages that use RDF4JException
  Package | Description
  --- | ---
  org.eclipse.rdf4j.common.exception |
  org.eclipse.rdf4j.federated.exception |
  org.eclipse.rdf4j.http.client |
  org.eclipse.rdf4j.http.client.shacl |
  org.eclipse.rdf4j.http.protocol |
  org.eclipse.rdf4j.model.util | Helper classes for working with RDF models.
  org.eclipse.rdf4j.query | Interfaces and classes for handling queries and query results.
  org.eclipse.rdf4j.query.algebra.evaluation |
  org.eclipse.rdf4j.query.dawg | Functionality to convert tuple query results to and from the Data Access Working Group Test Result Set RDF Vocabulary
  org.eclipse.rdf4j.query.resultio |
  org.eclipse.rdf4j.repository | The Repository API: the main API for accessing rdf databases and SPARQL endpoints.
  org.eclipse.rdf4j.repository.config | Repository configuration interfaces.
  org.eclipse.rdf4j.repository.http | A repository that serves as a proxy client for a remote repository on an RDF4J Server.
  org.eclipse.rdf4j.repository.sail.helpers | Helper and utility classes for the `SailRepository`
  org.eclipse.rdf4j.repository.util | Helper classes for working with Repositories.
  org.eclipse.rdf4j.rio | Rio: The RDF4J parser/writer API.
  org.eclipse.rdf4j.rio.helpers | Provides helpers classes for Rio.
  org.eclipse.rdf4j.sail | RDF Storage And Inference Layer (RDF Sail): a set of interfaces defining an SPI for RDF databases.
  org.eclipse.rdf4j.sail.config |
  org.eclipse.rdf4j.sail.inferencer.util |
  org.eclipse.rdf4j.sail.shacl | A Sail implementation for SHACL constraint checking.
  org.eclipse.rdf4j.spin | See discussion at https://github.com/eclipse/rdf4j/issues/1262
  org.eclipse.rdf4j.spin.function | Core functions required for SPIN.
  org.eclipse.rdf4j.spring.dao.exception |
  org.eclipse.rdf4j.spring.support |
  org.eclipse.rdf4j.spring.tx.exception |
  org.eclipse.rdf4j.testsuite.repository |
  org.eclipse.rdf4j.testsuite.sparql | A SPARQL test suite for RDF4J repositories
  org.eclipse.rdf4j.workbench.commands |
  org.eclipse.rdf4j.workbench.util |

- - ### Uses of RDF4JException in org.eclipse.rdf4j.common.exception

    Subclasses of RDF4JException in org.eclipse.rdf4j.common.exception
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `RDF4JConfigException` | Exception indicating a configuration problem in an RDF4J component.

  - ### Uses of RDF4JException in org.eclipse.rdf4j.federated.exception

    Subclasses of RDF4JException in org.eclipse.rdf4j.federated.exception
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `FedXException` | Base class for any FedX Exception.

  - ### Uses of RDF4JException in org.eclipse.rdf4j.http.client

    Methods in org.eclipse.rdf4j.http.client that throw RDF4JException
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | RDF4JProtocolSession.`beginTransaction​(IsolationLevel isolationLevel)` |
    `void` | RDF4JProtocolSession.`beginTransaction​(TransactionSetting... transactionSettings)` |
    `void` | RDF4JProtocolSession.`commitTransaction()` |
    `protected org.apache.http.HttpResponse` | SPARQLProtocolSession.`execute​(org.apache.http.client.methods.HttpUriRequest method)` |
    `protected void` | SPARQLProtocolSession.`executeNoContent​(org.apache.http.client.methods.HttpUriRequest method)` |
    `protected org.apache.http.HttpResponse` | SPARQLProtocolSession.`executeOK​(org.apache.http.client.methods.HttpUriRequest method)` | Convenience method to deal with HTTP level errors of tuple, graph and boolean queries in the same way.
    `protected boolean` | SPARQLProtocolSession.`getBoolean​(org.apache.http.client.methods.HttpUriRequest method)` | Parse the response in this thread using a suitable `BooleanQueryResultParser`.
    `void` | RDF4JProtocolSession.`prepareTransaction()` |
    `void` | RDF4JProtocolSession.`rollbackTransaction()` |

  - ### Uses of RDF4JException in org.eclipse.rdf4j.http.client.shacl

    Subclasses of RDF4JException in org.eclipse.rdf4j.http.client.shacl
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `RemoteShaclValidationException` | Experimental support for handling SHACL violations against a remote RDF4J server.

  - ### Uses of RDF4JException in org.eclipse.rdf4j.http.protocol

    Subclasses of RDF4JException in org.eclipse.rdf4j.http.protocol
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `UnauthorizedException` |

  - ### Uses of RDF4JException in org.eclipse.rdf4j.model.util

    Subclasses of RDF4JException in org.eclipse.rdf4j.model.util
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `LiteralUtilException` | An exception thrown by `Literals` when specific conditions are not met.
    `class` | `ModelException` | An exception thrown by `Model` and `Models` when specific conditions are not met.

    Methods in org.eclipse.rdf4j.model.util with type parameters of type RDF4JException
    Modifier and Type | Method | Description
    --- | --- | ---
    `static <E extends RDF4JException> void` | RDFCollections.`extract​(GetStatementOptional statementSupplier, Resource head, Consumer<Statement> collectionConsumer, Function<String,​Supplier<E>> exceptionSupplier, Resource... contexts)` | Extracts an RDF Collection starting with the supplied list head from the statement supplier and sends all statements that make up the collection to the supplied `Consumer` function.
    `static <E extends RDF4JException> void` | RDFContainers.`extract​(IRI containerType, GetStatementOptional statementSupplier, Resource container, Consumer<Statement> collectionConsumer, Function<String,​Supplier<E>> exceptionSupplier, Resource... contexts)` | Extracts an RDF Container starting with the supplied container head from the statement supplier and sends all statements that make up the collection to the supplied `Consumer` function.

    Methods in org.eclipse.rdf4j.model.util that throw RDF4JException
    Modifier and Type | Method | Description
    --- | --- | ---
    `static <E extends RDF4JException> void` | RDFCollections.`extract​(GetStatementOptional statementSupplier, Resource head, Consumer<Statement> collectionConsumer, Function<String,​Supplier<E>> exceptionSupplier, Resource... contexts)` | Extracts an RDF Collection starting with the supplied list head from the statement supplier and sends all statements that make up the collection to the supplied `Consumer` function.
    `static <E extends RDF4JException> void` | RDFContainers.`extract​(IRI containerType, GetStatementOptional statementSupplier, Resource container, Consumer<Statement> collectionConsumer, Function<String,​Supplier<E>> exceptionSupplier, Resource... contexts)` | Extracts an RDF Container starting with the supplied container head from the statement supplier and sends all statements that make up the collection to the supplied `Consumer` function.

  - ### Uses of RDF4JException in org.eclipse.rdf4j.query

    Subclasses of RDF4JException in org.eclipse.rdf4j.query
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `BooleanQueryResultHandlerException` | An exception that can be thrown by an BooleanQueryResultHandler when it encounters an unrecoverable error.
    `class` | `IncompatibleOperationException` | An exception indicating that a string could not be parsed into an operation of the expected type by the parser.
    `class` | `MalformedQueryException` | An exception indicating that a query could not be processed by the query parser, typically due to syntax errors.
    `class` | `QueryEvaluationException` | An exception indicating that the evaluation of a query failed.
    `class` | `QueryInterruptedException` | An exception indicating that the evaluation of a query has been interrupted, for example because it took too long to complete.
    `class` | `QueryResultHandlerException` | The super class of exceptions originating from `QueryResultHandler` implementations.
    `class` | `TupleQueryResultHandlerException` | An exception that can be thrown by an TupleQueryResultHandler when it encounters an unrecoverable error.
    `class` | `UpdateExecutionException` | An exception indicating that the execution of an update failed.

    Method parameters in org.eclipse.rdf4j.query with type arguments of type RDF4JException
    Modifier and Type | Method | Description
    --- | --- | ---
    `static Model` | QueryResults.`asModel​(CloseableIteration<? extends Statement,​? extends RDF4JException> iteration)` | Get a `Model` containing all elements obtained from the specified query result.
    `static Model` | QueryResults.`asModel​(CloseableIteration<? extends Statement,​? extends RDF4JException> iteration, ModelFactory modelFactory)` | Get a `Model` containing all elements obtained from the specified query result.

  - ### Uses of RDF4JException in org.eclipse.rdf4j.query.algebra.evaluation

    Subclasses of RDF4JException in org.eclipse.rdf4j.query.algebra.evaluation
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `ValueExprEvaluationException` | An exception indicating that a `ValueExpr` could not be evaluated due to illegal or incompatible values.

  - ### Uses of RDF4JException in org.eclipse.rdf4j.query.dawg

    Subclasses of RDF4JException in org.eclipse.rdf4j.query.dawg
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `DAWGTestResultSetParseException` | An exception that is thrown to indicate that the parsing of a DAWG Test Result Set graph failed due to an incompatible or incomplete graph.

  - ### Uses of RDF4JException in org.eclipse.rdf4j.query.resultio

    Subclasses of RDF4JException in org.eclipse.rdf4j.query.resultio
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `QueryResultParseException` | A parse exception that can be thrown by a query result parser when it encounters an error from which it cannot or doesn't want to recover.

  - ### Uses of RDF4JException in org.eclipse.rdf4j.repository

    Subclasses of RDF4JException in org.eclipse.rdf4j.repository
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `RepositoryException` | An exception thrown by classes from the Repository API to indicate an error.
    `class` | `RepositoryLockedException` | Indicates that a Repository cannot be initialised because the configured persisted location is locked.
    `class` | `RepositoryReadOnlyException` | Indicates that the current write operation did not succeed because the SAIL cannot be written to, it can only be read from.
    `class` | `UnknownTransactionStateException` | A specific subtype of `RepositoryException` that indicates the connection's transaction state can not be determined.

  - ### Uses of RDF4JException in org.eclipse.rdf4j.repository.config

    Subclasses of RDF4JException in org.eclipse.rdf4j.repository.config
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `RepositoryConfigException` | Exception indicating a repository configuration problem.

  - ### Uses of RDF4JException in org.eclipse.rdf4j.repository.http

    Subclasses of RDF4JException in org.eclipse.rdf4j.repository.http
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `HTTPQueryEvaluationException` |
    `class` | `HTTPUpdateExecutionException` |

  - ### Uses of RDF4JException in org.eclipse.rdf4j.repository.sail.helpers

    Methods in org.eclipse.rdf4j.repository.sail.helpers that throw RDF4JException
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected void` | RDFSailInserter.`addNamespace​(String prefix, String name)` |
    `protected void` | RDFSailInserter.`addStatement​(Resource subj, IRI pred, Value obj, Resource ctxt)` |

  - ### Uses of RDF4JException in org.eclipse.rdf4j.repository.util

    Methods in org.eclipse.rdf4j.repository.util that throw RDF4JException
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected abstract void` | AbstractRDFInserter.`addNamespace​(String prefix, String name)` |
    `protected void` | RDFInserter.`addNamespace​(String prefix, String name)` |
    `protected abstract void` | AbstractRDFInserter.`addStatement​(Resource subj, IRI pred, Value obj, Resource ctxt)` |
    `protected void` | RDFInserter.`addStatement​(Resource subj, IRI pred, Value obj, Resource ctxt)` |

  - ### Uses of RDF4JException in org.eclipse.rdf4j.rio

    Subclasses of RDF4JException in org.eclipse.rdf4j.rio
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `RDFHandlerException` | An exception that can be thrown by an RDFHandler when it encounters an unrecoverable error.
    `class` | `RDFParseException` | A parse exception that can be thrown by a parser when it encounters an error from which it cannot or doesn't want to recover.

  - ### Uses of RDF4JException in org.eclipse.rdf4j.rio.helpers

    Subclasses of RDF4JException in org.eclipse.rdf4j.rio.helpers
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `RioConfigurationException` | A RuntimeException indicating that a specific Rio parser/writer configuration setting is not supported.

  - ### Uses of RDF4JException in org.eclipse.rdf4j.sail

    Subclasses of RDF4JException in org.eclipse.rdf4j.sail
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `SailConflictException` | An exception thrown by some methods in Sail to indicate that a requested isolation level could not be fulfilled.
    `class` | `SailException` | An exception thrown by some methods in Sail to indicate that a requested operation could not be executed.
    `class` | `SailLockedException` | Indicates that a SAIL cannot be initialised because the configured persisted location is locked.
    `class` | `SailReadOnlyException` | Indicates that the current write operation did not succeed because the SAIL cannot be written to, it can only be read from.
    `class` | `UnknownSailTransactionStateException` | Indicates that a SAIL's transaction state (active or inactive) cannot be determined.

  - ### Uses of RDF4JException in org.eclipse.rdf4j.sail.config

    Subclasses of RDF4JException in org.eclipse.rdf4j.sail.config
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `SailConfigException` | Exception indicating a sail configuration problem.

  - ### Uses of RDF4JException in org.eclipse.rdf4j.sail.inferencer.util

    Methods in org.eclipse.rdf4j.sail.inferencer.util that throw RDF4JException
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected void` | RDFInferencerInserter.`addNamespace​(String prefix, String name)` |
    `protected void` | RDFInferencerInserter.`addStatement​(Resource subj, IRI pred, Value obj, Resource ctxt)` |

  - ### Uses of RDF4JException in org.eclipse.rdf4j.sail.shacl

    Subclasses of RDF4JException in org.eclipse.rdf4j.sail.shacl
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `ShaclSailValidationException` |

  - ### Uses of RDF4JException in org.eclipse.rdf4j.spin

    Subclasses of RDF4JException in org.eclipse.rdf4j.spin
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `MalformedSpinException` | An exception thrown by the SPIN parser when it encounters malformed SPIN rules, constraints or constructors.

    Methods in org.eclipse.rdf4j.spin that throw RDF4JException
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | SpinParser.`isThisUnbound​(Resource subj, TripleSource store)` |
    `protected ParsedOperation` | SpinParser.`parse​(Resource queryResource, IRI queryClass, TripleSource store)` |
    `ParsedOperation` | SpinParser.`parse​(Resource queryResource, TripleSource store)` |
    `Map<IRI,​Argument>` | SpinParser.`parseArguments​(IRI moduleUri, TripleSource store)` |
    `ParsedBooleanQuery` | SpinParser.`parseAskQuery​(Resource queryResource, TripleSource store)` |
    `ConstraintViolation` | SpinParser.`parseConstraintViolation​(Resource subj, TripleSource store)` |
    `ParsedGraphQuery` | SpinParser.`parseConstructQuery​(Resource queryResource, TripleSource store)` |
    `ParsedDescribeQuery` | SpinParser.`parseDescribeQuery​(Resource queryResource, TripleSource store)` |
    `ValueExpr` | SpinParser.`parseExpression​(Value expr, TripleSource store)` |
    `Function` | SpinParser.`parseFunction​(IRI funcUri, TripleSource store)` |
    `TupleFunction` | SpinParser.`parseMagicProperty​(IRI propUri, TripleSource store)` |
    `ParsedQuery` | SpinParser.`parseQuery​(Resource queryResource, TripleSource store)` |
    `Map<IRI,​RuleProperty>` | SpinParser.`parseRuleProperties​(TripleSource store)` |
    `ParsedTupleQuery` | SpinParser.`parseSelectQuery​(Resource queryResource, TripleSource store)` |
    `ParsedUpdate` | SpinParser.`parseUpdate​(Resource queryResource, TripleSource store)` |

  - ### Uses of RDF4JException in org.eclipse.rdf4j.spin.function

    Methods in org.eclipse.rdf4j.spin.function that throw RDF4JException
    Modifier and Type | Method | Description
    --- | --- | ---
    `Function` | FunctionParser.`parse​(IRI uri, TripleSource store)` |
    `Function` | KnownFunctionParser.`parse​(IRI funcUri, TripleSource store)` |
    `TupleFunction` | KnownTupleFunctionParser.`parse​(IRI funcUri, TripleSource store)` |
    `Function` | SpinFunctionParser.`parse​(IRI funcUri, TripleSource store)` |
    `Function` | SpinTupleFunctionAsFunctionParser.`parse​(IRI funcUri, TripleSource store)` |
    `TupleFunction` | SpinTupleFunctionParser.`parse​(IRI funcUri, TripleSource store)` |
    `Function` | SpinxFunctionParser.`parse​(IRI funcUri, TripleSource store)` |
    `TupleFunction` | TupleFunctionParser.`parse​(IRI uri, TripleSource store)` |

  - ### Uses of RDF4JException in org.eclipse.rdf4j.spring.dao.exception

    Subclasses of RDF4JException in org.eclipse.rdf4j.spring.dao.exception
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `IncorrectResultSetSizeException` |
    `class` | `RDF4JDaoException` |
    `class` | `RDF4JSpringException` |
    `class` | `UnexpectedResultException` |
    `class` | `UnsupportedDataTypeException` |

  - ### Uses of RDF4JException in org.eclipse.rdf4j.spring.support

    Subclasses of RDF4JException in org.eclipse.rdf4j.spring.support
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `ConfigurationException` |

  - ### Uses of RDF4JException in org.eclipse.rdf4j.spring.tx.exception

    Subclasses of RDF4JException in org.eclipse.rdf4j.spring.tx.exception
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `CommitException` |
    `class` | `ConnectionClosedException` |
    `class` | `NoTransactionException` |
    `class` | `RDF4JTransactionException` |
    `class` | `RollbackException` |
    `class` | `TransactionInactiveException` |
    `class` | `WriteDeniedException` |

  - ### Uses of RDF4JException in org.eclipse.rdf4j.testsuite.repository

    Methods in org.eclipse.rdf4j.testsuite.repository that throw RDF4JException
    Modifier and Type | Method | Description
    --- | --- | ---
    `static Repository` | OptimisticIsolationTest.`getEmptyInitializedRepository​(Class<?> caller)` |
    `void` | RepositoryConnectionTest.`testAddDelete()` |
    `void` | RepositoryConnectionTest.`testAddDeleteAdd()` |
    `void` | RepositoryConnectionTest.`testAddDeleteInsert()` |
    `void` | RepositoryConnectionTest.`testAddRemove()` |
    `void` | RepositoryConnectionTest.`testAddRemoveAdd()` |
    `void` | RepositoryConnectionTest.`testAddRemoveInsert()` |
    `void` | RepositoryConnectionTest.`testInsertDelete()` |
    `void` | RepositoryConnectionTest.`testInsertRemove()` |

  - ### Uses of RDF4JException in org.eclipse.rdf4j.testsuite.sparql

    Methods in org.eclipse.rdf4j.testsuite.sparql that throw RDF4JException
    Modifier and Type | Method | Description
    --- | --- | ---
    `static Repository` | RepositorySPARQLComplianceTestSuite.`getEmptyInitializedRepository​(Class<?> caller)` |

  - ### Uses of RDF4JException in org.eclipse.rdf4j.workbench.commands

    Methods in org.eclipse.rdf4j.workbench.commands that throw RDF4JException
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected void` | QueryServlet.`doPost​(WorkbenchRequest req, javax.servlet.http.HttpServletResponse resp, String xslPath)` |
    `protected void` | SavedQueriesServlet.`doPost​(WorkbenchRequest wreq, javax.servlet.http.HttpServletResponse resp, String xslPath)` |
    `protected String` | QueryServlet.`getQueryText​(WorkbenchRequest req)` |
    `protected ExploreServlet.ResultCursor` | ExploreServlet.`processResource​(RepositoryConnection con, TupleResultBuilder builder, Value value, int offset, int limit, boolean render)` | Query the repository for all instances of the given value, optionally writing the results into the HTTP response.
    `protected void` | ExploreServlet.`service​(WorkbenchRequest req, javax.servlet.http.HttpServletResponse resp, TupleResultBuilder builder, RepositoryConnection con)` |
    `protected void` | QueryServlet.`service​(WorkbenchRequest req, javax.servlet.http.HttpServletResponse resp, String xslPath)` |
    `protected void` | SavedQueriesServlet.`service​(WorkbenchRequest req, javax.servlet.http.HttpServletResponse resp, String xslPath)` |

  - ### Uses of RDF4JException in org.eclipse.rdf4j.workbench.util

    Methods in org.eclipse.rdf4j.workbench.util that throw RDF4JException
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | QueryEvaluator.`extractQueryAndEvaluate​(TupleResultBuilder builder, javax.servlet.http.HttpServletResponse resp, OutputStream out, String xslPath, RepositoryConnection con, String queryText, WorkbenchRequest req, CookieHandler cookies)` | Evaluates the query submitted with the given request.
    `String` | QueryStorage.`getQueryText​(HTTPRepository repository, String owner, String queryName)` | Retrieves the specified query text.
    `static Query` | QueryFactory.`prepareQuery​(RepositoryConnection con, QueryLanguage queryLn, String query)` |
    `void` | QueryStorage.`saveQuery​(HTTPRepository repository, String queryName, String userName, boolean shared, QueryLanguage queryLanguage, String queryText, boolean infer, int rowsPerPage)` | Save a query.
    `IRI` | QueryStorage.`selectSavedQuery​(HTTPRepository repository, String owner, String queryName)` | Returns the URI for the saved query in the given repository with the given name, owned by the given owner.