Package

longevity.exceptions

persistence

Permalink

package persistence

Content Hierarchy
Visibility
  1. Public
  2. All

Type Members

  1. class DuplicateKeyValException[P] extends PersistenceException

    Permalink

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

  2. class NotInDomainModelTranslationException extends TranslationException

    Permalink

    an exception thrown by a 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, entity, or key value defined by the domain model.

    an exception thrown by a 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, entity, or key value defined by 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.

  3. class PStateChangesDerivedPTypeException extends PersistenceException with UnrecoverableLongevityException

    Permalink

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

  4. class PersistenceException extends LongevityException

    Permalink

    an exception involving persistence

  5. class QueryException extends PersistenceException

    Permalink

    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.

  6. class TranslationException extends PersistenceException with UnrecoverableLongevityException

    Permalink

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

  7. class UnstablePrimaryKeyException[P] extends PersistenceException

    Permalink

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

  8. class WriteConflictException[P] extends PersistenceException

    Permalink

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

Value Members

  1. package cassandra

    Permalink

Ungrouped