package persistence
Type Members
-
class
ConnectionClosedException extends PersistenceException
an exception thrown when trying to work with a Repo when the connection is closed
-
class
ConnectionOpenException extends PersistenceException
an exception thrown when trying to open a connection that is already open
-
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.
-
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.
-
class
PStateChangesDerivedPTypeException extends PersistenceException with UnrecoverableLongevityException
an exception thrown when attempting to modify a
PState
for aPolyPType
from oneDerivedPType
type to another -
class
PersistenceException extends LongevityException
an exception involving persistence
-
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.
-
class
TranslationException extends PersistenceException with UnrecoverableLongevityException
an exception thrown by a repository when translating between a persistent and a serialized form
-
class
UnstablePrimaryKeyException[P, V] extends PersistenceException
an exception thrown on attempt to persist an object with a modified primary key
-
class
WriteConflictException[P] extends PersistenceException
an exception thrown due to optimistic locking detection of a conflicting write