Skip to content

# `` exceptions

RDF4J exceptions.

Classes:

- `RDF4JError` –

  Base class for RDF4J exceptions.

- `RDF4JUnsupportedProtocolError` –

  Raised when the server does not support the protocol version.

- `RDFLibParserError` –

  Raised when there is an error parsing the RDF document.

- `RepositoryAlreadyExistsError` –

  Raised when the repository already exists.

- `RepositoryError` –

  Raised when interactions on a repository result in an error.

- `RepositoryNotFoundError` –

  Raised when the repository is not found.

- `RepositoryNotHealthyError` –

  Raised when the repository is not healthy.

- `RepositoryResponseFormatError` –

  Raised when the repository response format is invalid.

- `RepositoryTransactionError` –

  Raised when there is an error with the transaction.

- `TransactionClosedError` –

  Raised when the transaction has been closed.

- `TransactionCommitError` –

  Raised when there is an error committing the transaction.

- `TransactionPingError` –

  Raised when there is an error pinging the transaction.

- `TransactionRollbackError` –

  Raised when there is an error rolling back the transaction.

## `` 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.