Package org.datanucleus.exceptions
package org.datanucleus.exceptions
This package provides exceptions thrown by the core (client-facing) parts of DataNucleus.
-
Exception ClassesClassDescriptionA ClassNotDetachableException is thrown if an attempt is made to detach an object whose class is not detachable.An exception thrown when an operation is invoked that requires a persistable object yet the object passed in is not suitable.A ClassNotResolvedException is thrown if an attempt is made to load a class that cannot be found by the ClassLoaderResolver.A CommitStateTransitionException is thrown when an error occurs transitioning from one lifecycle state to another.Exception thrown if a named connection factory cannot be found using its JNDI name.Representation of an error encountered initialising a datastore.Exception thrown when trying to update a datastores contents when it is read-only.A DatastoreValidationException is thrown if a mismatch is discovered between what the JDO runtime thinks the datastore should look like and what it actually looks like.A NoExtentException is thrown if an attempt is made to perform an operation using a class that is not backed by an extent (ie table or view) in the database and the operation is not supported on such classes.Exception thrown when a class is required to have persistence information (metadata/annotations) yet none can be found.Exception thrown when an pc instance instance is not yet flushed to the datastore, but it was expected to already be.Exception thrown when a retriable error occurs.Exception thrown when a datastore occurs.Base exception thrown by DataNucleus.Exception thrown when a user error occurs and is fatal.Exception thrown when an object doesn't exist in the datastore.Exception thrown when a transaction fails due to optimistic verification checks.Exception thrown when a particular option has been selected but isnt supported.Exception thrown when a user error occurs.A ObjectDetachedException is thrown if an attempt is made to use the object in a process that doesn't allow detached objects.An exception that is thrown when we have a relation to another persistable object that is not yet persistent and where the relation is not marked as cascade-persist.Exception thrown when an error occurs in the rollback process of a state change.An exception thrown when active is invoked on an ExecutionContext yet the transaction is already active.An exception thrown when close is invoked on an ExecutionContext yet the transaction is still active.An exception thrown when an unsupported transaction isolation level is requested.An exception thrown when commit/rollback is invoked on an ExecutionContext yet the transaction is not active.An TransactionNotReadableException is thrown if an operation needs either of an active transaction or non-transactional read and neither is true.An TransactionNotReadableException is thrown if an operation needs either of an active transaction or non-transactional read and neither is true.Exception thrown if a configured connection factory is not of a supported factory type.