Packages

p

longevity.exceptions

persistence

package persistence

Type Members

  1. class ConnectionClosedException extends PersistenceException

    an exception thrown when trying to work with a Repo when the connection is closed

  2. class ConnectionOpenException extends PersistenceException

    an exception thrown when trying to open a connection that is already open

  3. class DuplicateKeyValException[M, P] extends PersistenceException

    an attempt to create or update a persistent object has failed because the underlying database has detected a uniqueness violation for a key.

  4. class NotInDomainModelTranslationException extends TranslationException

    an exception thrown by the repository when translating between a persistent and a serialized form, and a type is encountered that is not a basic type or collection, and is not a persistent, component, or key value defined in the domain model.

    an exception thrown by the repository when translating between a persistent and a serialized form, and a type is encountered that is not a basic type or collection, and is not a persistent, component, or key value defined in the domain model.

    ideally, we would catch this kind of problem as early as possible. it could be in a unit test, or perhaps in a macro.

  5. class PStateChangesDerivedPTypeException extends PersistenceException with UnrecoverableLongevityException

    an exception thrown when attempting to modify a PState for a PolyPType from one DerivedPType type to another

  6. class PersistenceException extends LongevityException

    an exception involving persistence

  7. class QueryException extends PersistenceException

    an exception that occurs when a Query cannot be handled by the repository.

    an exception that occurs when a Query cannot be handled by the repository.

    cassandra repositories cannot handle all kinds of queries, as cassandra CQL queries have some rather strict limitations. mongo and in-memory repositories can handle all queries.

  8. class TranslationException extends PersistenceException with UnrecoverableLongevityException

    an exception thrown by a repository when translating between a persistent and a serialized form

  9. class UnstablePrimaryKeyException[P, V] extends PersistenceException

    an exception thrown on attempt to persist an object with a modified primary key

  10. class WriteConflictException[P] extends PersistenceException

    an exception thrown due to optimistic locking detection of a conflicting write

Ungrouped