Package org.datanucleus.exceptions

This package provides exceptions thrown by the core (client-facing) parts of DataNucleus.

See:
          Description

Exception Summary
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.
NoPersistenceInformationException Exception thrown when a class is required to have persistence information (metadata/annotations) yet none can be found.
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.
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.
 

Package org.datanucleus.exceptions Description

This package provides exceptions thrown by the core (client-facing) parts of DataNucleus.



Copyright © 2013. All Rights Reserved.