This package provides exceptions thrown by the core (client-facing) parts of DataNucleus.
Exception Summary Exception Description ClassNotDetachableExceptionA ClassNotDetachableException is thrown if an attempt is made to detach an object whose class is not detachable. ClassNotPersistableExceptionAn exception thrown when an operation is invoked that requires a persistable object yet the object passed in is not suitable. ClassNotResolvedExceptionA ClassNotResolvedException is thrown if an attempt is made to load a class that cannot be found by the ClassLoaderResolver. CommitStateTransitionExceptionA CommitStateTransitionException is thrown when an error occurs transitioning from one lifecycle state to another. ConnectionFactoryNotFoundExceptionException thrown if a named connection factory cannot be found using its JNDI name. DatastoreInitialisationExceptionRepresentation of an error encountered initialising a datastore. DatastoreReadOnlyExceptionException thrown when trying to update a datastores contents when it is read-only. DatastoreValidationExceptionA 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. NoExtentExceptionA 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. NoPersistenceInformationExceptionException thrown when a class is required to have persistence information (metadata/annotations) yet none can be found. NotYetFlushedExceptionException thrown when an pc instance instance is not yet flushed to the datastore, but it was expected to already be. NucleusCanRetryExceptionException thrown when a retriable error occurs. NucleusDataStoreExceptionException thrown when a datastore occurs. NucleusExceptionBase exception thrown by DataNucleus. NucleusFatalUserExceptionException thrown when a user error occurs and is fatal. NucleusObjectNotFoundExceptionException thrown when an object doesn't exist in the datastore. NucleusOptimisticExceptionException thrown when a transaction fails due to optimistic verification checks. NucleusUnsupportedOptionExceptionException thrown when a particular option has been selected but isnt supported. NucleusUserExceptionException thrown when a user error occurs. ObjectDetachedExceptionA ObjectDetachedException is thrown if an attempt is made to use the object in a process that doesn't allow detached objects. ReachableObjectNotCascadedExceptionAn 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. RollbackStateTransitionExceptionException thrown when an error occurs in the rollback process of a state change. TransactionActiveOnBeginExceptionAn exception thrown when active is invoked on an ExecutionContext yet the transaction is already active. TransactionActiveOnCloseExceptionAn exception thrown when close is invoked on an ExecutionContext yet the transaction is still active. TransactionIsolationNotSupportedExceptionAn exception thrown when an unsupported transaction isolation level is requested. TransactionNotActiveExceptionAn exception thrown when commit/rollback is invoked on an ExecutionContext yet the transaction is not active. TransactionNotReadableExceptionAn TransactionNotReadableException is thrown if an operation needs either of an active transaction or non-transactional read and neither is true. TransactionNotWritableExceptionAn TransactionNotReadableException is thrown if an operation needs either of an active transaction or non-transactional read and neither is true. UnsupportedConnectionFactoryExceptionException thrown if a configured connection factory is not of a supported factory type.