Skip to content

exceptions

RDF4J exceptions.

Classes:

RDF4JError

Bases: Exception

Base class for RDF4J exceptions.

RDF4JUnsupportedProtocolError

Bases: RDF4JError

Raised when the server does not support the protocol version.

RDFLibParserError

Bases: RDF4JError

Raised when there is an error parsing the RDF document.

RepositoryAlreadyExistsError

Bases: RepositoryError

Raised when the repository already exists.

RepositoryError

Bases: RDF4JError

Raised when interactions on a repository result in an error.

RepositoryNotFoundError

Bases: RepositoryError

Raised when the repository is not found.

RepositoryNotHealthyError

Bases: RepositoryError

Raised when the repository is not healthy.

RepositoryResponseFormatError

Bases: RepositoryError

Raised when the repository response format is invalid.

RepositoryTransactionError

Bases: RDF4JError

Raised when there is an error with the transaction.

TransactionClosedError

Bases: RepositoryTransactionError

Raised when the transaction has been closed.

TransactionCommitError

Bases: RepositoryTransactionError

Raised when there is an error committing the transaction.

TransactionPingError

Bases: RepositoryTransactionError

Raised when there is an error pinging the transaction.

TransactionRollbackError

Bases: RepositoryTransactionError

Raised when there is an error rolling back the transaction.