Package org.datanucleus.store.exceptions

Provides exceptions that can be thrown when communicating with the datastore.

See:
          Description

Exception Summary
ClassDefinitionException A ClassDefinitionException is thrown if the settings of a persistent class are inconsistent with it's metadata.
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.
NoDatastoreMappingException A NoDatastoreMappingException is thrown if an operation is performed that assumes that a particular persistent field is stored in a single datastore field when it is not (such as if the field is a Collection or a Map).
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.
NoSuchPersistentFieldException A NoSuchPersistentFieldException is thrown if a reference is made somewhere, such as in a query filter string, to a field that either doesn't exist or is not persistent.
NoTableManagedException A NoTableManagedException is thrown if an attempt is made to perform an operation using a class that is not backed by an table or view in the database and the operation is not supported on such classes.
NotYetFlushedException Exception thrown when an pc instance instance is not yet flushed to the datastore, but it was expected to already be.
NullValueException A NullValueException is thrown if a null value is encountered in a database column that should prohibit null values.
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.
UnsupportedDataTypeException A UnsupportedDataTypeException is thrown if an attempt is made to persist an object field whose data type is not supported by the database and/or the persistence package.
 

Package org.datanucleus.store.exceptions Description

Provides exceptions that can be thrown when communicating with the datastore.



Copyright © 2009. All Rights Reserved.