[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Collapse]eXpress Persistent Objects
 [Expand]Product Information
 [Expand]Getting Started
 [Expand]Fundamentals
 [Expand]Feature Center
 [Expand]Concepts
 [Expand]Design-Time Features
 [Expand]Examples
 [Expand]Member Tables
 [Collapse]API Reference
  [Expand]DevExpress.Xpo
  [Expand]DevExpress.Xpo.DB
  [Expand]DevExpress.Xpo.DB.Helpers
  [Collapse]DevExpress.Xpo.Exceptions
   [Expand]AssociationElementTypeMissingException Class
   [Expand]AssociationInvalidException Class
   [Expand]CannotChangePropertyWhenSessionIsConnectedException Class
   [Expand]CannotFindAppropriateConnectionProviderException Class
   [Expand]CannotLoadInvalidTypeException Class
   [Expand]CannotLoadObjectsException Class
   [Expand]CannotReloadPurgedObjectException Class
   [Expand]CannotResolveClassInfoException Class
   [Expand]DifferentObjectsWithSameKeyException Class
   [Expand]DuplicateKeyPropertyException Class
   [Expand]KeyPropertyAbsentException Class
   [Expand]KeysAutogenerationNonSupportedTypeException Class
   [Expand]NonPersistentReferenceFoundException Class
   [Expand]ObjectCacheException Class
   [Expand]PropertyMissingException Class
   [Expand]PropertyTypeMismatchException Class
   [Expand]RequiredAttributeMissingException Class
   [Expand]SameTableNameException Class
   [Expand]SessionCtorAbsentException Class
   [Expand]SessionMixingException Class
   [Expand]TransactionSequenceException Class
   [Expand]TypeFieldIsEmptyException Class
   [Expand]TypeNotFoundException Class
   [Expand]UnableToFillRefTypeException Class
   [Expand]XMLDictionaryException Class
  [Expand]DevExpress.Xpo.Helpers
  [Expand]DevExpress.Xpo.Metadata
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

DevExpress.Xpo.Exceptions Namespace

Contains classes that describe exceptions which may occur when working with data in XPO.

Expanded Classes

  Class Description
Public class AssociationElementTypeMissingException An exception that is thrown when the elementType parameter is not specified in the DevExpress.Xpo.AssociationAttribute attribute.
Public class AssociationInvalidException An exception that is thrown when a persistent property marked with the DevExpress.Xpo.AssociationAttribute attribute cannot be used to create a relation.
Public class CannotChangePropertyWhenSessionIsConnectedException An exception that is thrown when the essential properties of the currently connected session are about to be modified.
Public class CannotFindAppropriateConnectionProviderException An exception that is thrown when an appropriate connection provider is not found.
Public class CannotLoadInvalidTypeException An exception that is thrown when a persistent object cannot be loaded because it's type is not valid.
Public class CannotLoadObjectsException An exception that is thrown when attempting to reload an object that is not present in a persistent data store.
Public class CannotReloadPurgedObjectException An exception that is thrown when attempting to reload an object that is not present in the persistent data store.
Public class CannotResolveClassInfoException An exception that is thrown when the DevExpress.Xpo.Metadata.XPDictionary cannot provide DevExpress.Xpo.Metadata.XPClassInfo metadata information for the class.
Public class DifferentObjectsWithSameKeyException An exception that is thrown when two objects within the current session have the same key.
Public class DuplicateKeyPropertyException An exception that is thrown when a persistent object has two or more key properties.
Public class KeyPropertyAbsentException An exception that is thrown when a persistent object doesn't have a key.
Public class KeysAutogenerationNonSupportedTypeException An exception that is thrown when a key field doesn't support automatic value generation
Public class NonPersistentReferenceFoundException An exception that is thrown when a persistent reference to a non-persistent class exists.
Public class ObjectCacheException An exception that is thrown when a severe internal error occurs.
Public class PropertyMissingException An exception that is thrown when an invalid property name is specified.
Public class PropertyTypeMismatchException An exception that is thrown when an association is incorrectly specified.
Public class RequiredAttributeMissingException An exception that is thrown when an attribute with the specified name cannot be found for a specific property.
Public class SameTableNameException An exception that is thrown when two persistent classes are mapped to the same table.
Public class SessionCtorAbsentException An exception that is thrown when a persistent class doesn't have a constructor with a DevExpress.Xpo.Session parameter.
Public class 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.
Public class TransactionSequenceException An exception that is thrown when the sequence of the BeginTransaction, CommitTransaction and RollbackTransaction methods is incorrect.
Public class TypeFieldIsEmptyException An exception that is thrown when an internal error occurs.
Public class TypeNotFoundException An exception that is thrown when an object in storage refers to a type that cannot be found.
Public class UnableToFillRefTypeException An exception that is thrown when an error occurs when building the tree structure of classes.
Public class XMLDictionaryException An exception that is thrown when an error occurs whilst object metadata is being loaded from an XML file.
Is this topic helpful?​​​​​​​