Thrown when an invalid type is specified as a proxy for a class. The exception is also thrown when a class is specified as lazy, but cannot be used as a proxy for itself.

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

Syntax

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

Type.createClass(
	'NHibernate.InvalidProxyTypeException',
	NHibernate.MappingException);

Inheritance Hierarchy

System..::.Object
  System..::.Exception
    System..::.ApplicationException
      NHibernate..::.HibernateException
        NHibernate..::.MappingException
          NHibernate..::.InvalidProxyTypeException

See Also