DevExpress.Xpo.Exceptions Namespace
Contains classes that describe exceptions which may occur when working with data in XPO.
Assembly: DevExpress.Xpo.v24.2.dll
Classes
Name | Description |
---|---|
AssociationElementTypeMissingException | An exception that is thrown when the elementType parameter is not specified in the AssociationAttribute attribute. |
AssociationInvalidException | An exception that is thrown when a persistent property marked with the AssociationAttribute attribute cannot be used to create a relation. |
CannotChangePropertyWhenSessionIsConnectedException | An exception that is thrown when the essential properties of the currently connected session are about to be modified. |
CannotFindAppropriateConnectionProviderException | Occurs when a connection string or an IDbConnection object is not compatible with data store providers. |
CannotLoadInvalidTypeException | An exception that is thrown when a persistent object cannot be loaded because it’s type is not valid. |
CannotLoadObjectsException | An exception that is thrown when attempting to reload an object that is not present in a persistent data store. |
CannotResolveClassInfoException | An exception that is thrown when the XPDictionary cannot provide XPClassInfo metadata information for the class. |
DifferentObjectsWithSameKeyException | An exception that is thrown when two objects within the current session have the same key. |
DuplicateKeyPropertyException | An exception that is thrown when a persistent object has two or more key properties. |
KeyPropertyAbsentException | An exception that is thrown when a persistent object doesn’t have a key. |
KeysAutogenerationNonSupportedTypeException | An exception that is thrown when a key field doesn’t support automatic value generation |
NonPersistentReferenceFoundException | An exception that is thrown when a persistent reference to a non-persistent class exists. |
ObjectCacheException | An exception that is thrown when a severe internal error occurs. |
PropertyMissingException | An exception that is thrown when an invalid property name is specified. |
RequiredAttributeMissingException | An exception that is thrown when an attribute with the specified name cannot be found for a specific property. |
SameTableNameException | An exception that is thrown when two persistent classes are mapped to the same table. |
SessionCtorAbsentException | An exception that is thrown when a persistent class doesn’t have a constructor with a Session parameter. |
SessionMixingException | An exception that is thrown when a persistent object that belongs to a specific session is used within another session or refers to an object from another session. |
TransactionSequenceException | An exception that is thrown when the sequence of the BeginTransaction, CommitTransaction and RollbackTransaction methods is incorrect. |
TypeFieldIsEmptyException | An exception that is thrown when an internal error occurs. |
TypeNotFoundException | An exception that is thrown when an object in storage refers to a type that cannot be found. |
UnableToFillRefTypeException | An exception that is thrown when an error occurs when building the tree structure of classes. |
XMLDictionaryException | An exception that is thrown when an error occurs whilst object metadata is being loaded from an XML file. |