Uses of Class
io.permazen.core.DatabaseException
Package
Description
Abstraction layer allowing access to a
Database
using normal Java objects.Core classes for the Permazen Java persistence layer.
-
Uses of DatabaseException in io.permazen
Modifier and TypeClassDescriptionclass
Exception thrown when an object is upgraded, some simple field's type changes, the field is configured withUpgradeConversionPolicy.REQUIRE
, and automated conversion of the field's value to the new type fails.class
Thrown whenPermazenTransaction.validate()
(orPermazenTransaction.commit()
) fails due to one or more validation errors. -
Uses of DatabaseException in io.permazen.core
Modifier and TypeClassDescriptionclass
Thrown when an object is accessed but the object does not exist in its associated transaction.class
Thrown when inconsistent content is detected in aDatabase
indicating a corrupted or invalid database, or a buggy underlying key-value store.class
Thrown when an object is found to have an invalid schema index.class
Thrown byDatabase.createTransaction(io.permazen.schema.SchemaModel)
when the provided schema is invalid.class
Thrown on an attempt to delete an object which is still referenced by aReferenceField
configured forDeleteAction.EXCEPTION
.class
Thrown on an attempt tocommit()
a transaction that has been marked rollback-only.class
Thrown byDatabase.createTransaction(io.permazen.schema.SchemaModel)
when the expected schema does not match and of the schemas already recorded in the database.class
Thrown when a transaction that has been committed, rolled back, or otherwise invalidated is accessed.class
Superclass of exceptions associated with a specificTransaction
.class
Thrown when attempting to migrate a database object to a new schema in which the object's type no longer exists.class
Thrown when an unknown field is accessed.class
Thrown when an unknown index is accessed.class
Thrown when attempting to access an unknown type.