Package org.datanucleus.exceptions
This package provides exceptions thrown by the core (client-facing) parts of DataNucleus.
-
Exception Summary Exception Description ClassNotDetachableException A ClassNotDetachableException is thrown if an attempt is made to detach an object whose class is not detachable.ClassNotPersistableException An exception thrown when an operation is invoked that requires a persistable object yet the object passed in is not suitable.ClassNotResolvedException A ClassNotResolvedException is thrown if an attempt is made to load a class that cannot be found by the ClassLoaderResolver.CommitStateTransitionException A CommitStateTransitionException is thrown when an error occurs transitioning from one lifecycle state to another.ConnectionFactoryNotFoundException Exception thrown if a named connection factory cannot be found using its JNDI name.DatastoreInitialisationException Representation of an error encountered initialising a datastore.DatastoreReadOnlyException Exception thrown when trying to update a datastores contents when it is read-only.DatastoreValidationException 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.NoExtentException 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.NoPersistenceInformationException Exception thrown when a class is required to have persistence information (metadata/annotations) yet none can be found.NotYetFlushedException Exception thrown when an pc instance instance is not yet flushed to the datastore, but it was expected to already be.NucleusCanRetryException Exception thrown when a retriable error occurs.NucleusDataStoreException Exception thrown when a datastore occurs.NucleusException Base exception thrown by DataNucleus.NucleusFatalUserException Exception thrown when a user error occurs and is fatal.NucleusObjectNotFoundException Exception thrown when an object doesn't exist in the datastore.NucleusOptimisticException Exception thrown when a transaction fails due to optimistic verification checks.NucleusUnsupportedOptionException Exception thrown when a particular option has been selected but isnt supported.NucleusUserException Exception thrown when a user error occurs.ObjectDetachedException A ObjectDetachedException is thrown if an attempt is made to use the object in a process that doesn't allow detached objects.ReachableObjectNotCascadedException 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.RollbackStateTransitionException Exception thrown when an error occurs in the rollback process of a state change.TransactionActiveOnBeginException An exception thrown when active is invoked on an ExecutionContext yet the transaction is already active.TransactionActiveOnCloseException An exception thrown when close is invoked on an ExecutionContext yet the transaction is still active.TransactionIsolationNotSupportedException An exception thrown when an unsupported transaction isolation level is requested.TransactionNotActiveException An exception thrown when commit/rollback is invoked on an ExecutionContext yet the transaction is not active.TransactionNotReadableException An TransactionNotReadableException is thrown if an operation needs either of an active transaction or non-transactional read and neither is true.TransactionNotWritableException An TransactionNotReadableException is thrown if an operation needs either of an active transaction or non-transactional read and neither is true.UnsupportedConnectionFactoryException Exception thrown if a configured connection factory is not of a supported factory type.