Thrown when a version number check failed, indicating that the ISession contained stale data (when using long transactions with versioning).

Namespace:  NHibernate
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
<SerializableAttribute> _
Public Class StaleObjectStateException _
	Inherits StaleStateException
C#
[SerializableAttribute]
public class StaleObjectStateException : StaleStateException
Visual C++
[SerializableAttribute]
public ref class StaleObjectStateException : public StaleStateException
JavaScript
NHibernate.StaleObjectStateException = function();

Type.createClass(
	'NHibernate.StaleObjectStateException',
	NHibernate.StaleStateException);

Inheritance Hierarchy

System..::.Object
  System..::.Exception
    System..::.ApplicationException
      NHibernate..::.HibernateException
        NHibernate..::.StaleStateException
          NHibernate..::.StaleObjectStateException

See Also