Uses of Class
io.permazen.core.DatabaseException
Packages that use 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
Subclasses of DatabaseException in io.permazenModifier and TypeClassDescriptionclassException 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.classThrown whenPermazenTransaction.validate()(orPermazenTransaction.commit()) fails due to one or more validation errors. -
Uses of DatabaseException in io.permazen.core
Subclasses of DatabaseException in io.permazen.coreModifier and TypeClassDescriptionclassThrown when an object is accessed but the object does not exist in its associated transaction.classThrown when inconsistent content is detected in aDatabaseindicating a corrupted or invalid database, or a buggy underlying key-value store.classThrown when an object is found to have an invalid schema index.classThrown byDatabase.createTransaction(io.permazen.schema.SchemaModel)when the provided schema is invalid.classThrown on an attempt to delete an object which is still referenced by aReferenceFieldconfigured forDeleteAction.EXCEPTION.classThrown on an attempt tocommit()a transaction that has been marked rollback-only.classThrown byDatabase.createTransaction(io.permazen.schema.SchemaModel)when the expected schema does not match and of the schemas already recorded in the database.classThrown when a transaction that has been committed, rolled back, or otherwise invalidated is accessed.classSuperclass of exceptions associated with a specificTransaction.classThrown when attempting to migrate a database object to a new schema in which the object's type no longer exists.classThrown when an unknown field is accessed.classThrown when an unknown index is accessed.classThrown when attempting to access an unknown type.