Package

longevity.exceptions

persistence

Permalink

package persistence

Content Hierarchy Learn more about scaladoc diagrams
Visibility
  1. Public
  2. All

Type Members

  1. class AssocIsUnpersistedException extends PersistenceException

    Permalink

    thrown on attempt to use an unpersisted assoc as a persisted assoc.

    thrown on attempt to use an unpersisted assoc as a persisted assoc. for instance, when calling repository method retrieve(Assoc[P]), or attempting to persist with longevity.persistence.Repo.create

  2. class NotInSubdomainTranslationException extends TranslationException

    Permalink

    an exception thrown by a repository when a 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 shorthand defined by the subdomain.

    an exception thrown by a repository when a 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 shorthand defined by the subdomain.

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

  3. class PStateChangesDerivedPTypeException extends PersistenceException

    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 ShorthandUnabbreviationException extends TranslationException

    Permalink

    an exception thrown when a repository encounters an error while unabbreviating a shorthand when deserializing an aggregate.

  6. class TranslationException extends PersistenceException

    Permalink

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

Value Members

  1. package cassandra

    Permalink

Ungrouped