Package org.datanucleus.api.jdo.exceptions
Package containing exceptions thrown that are specific to JDO persistence
-
Exception Summary Exception Description ClassNotPersistenceCapableException A ClassNotPersistenceCapableException is thrown if an attempt is made to persist an object whose class is not persistence-capable.ConnectionInUseException An ConnectionInUseException is thrown if an operation is attempted that requires a new database connection (such as Transaction.begin()) and a previously obtained database connection (such as for non-transactional read or write) is still in-use.NoPersistenceInformationException Exception thrown when a class is required to have persistence information (metadata/annotations) yet none can be found.TransactionActiveException An TransactionActiveException is thrown if a transaction is already active and an operation is performed that requires that a transaction not be active (such as beginning a transaction).TransactionCommitingException A TransactionCommitingException is thrown if a transaction is committing or rolling back and an operation is performed that changes the transaction state or behaviour (such as beginning setRetainValues).TransactionNotActiveException A TransactionNotActiveException is thrown if a transaction is not active and an operation is performed that requires that a transaction be active (such as committing a transaction).TransactionNotReadableException A TransactionNotReadableException is thrown if an operation needs either of an active transaction or non-transactional read and neither is true.TransactionNotWritableException A TransactionNotReadableException is thrown if an operation needs either of an active transaction or non-transactional read and neither is true.