C# Class NHibernate.PropertyAccessException

Inheritance: NHibernate.HibernateException, ISerializable
Datei anzeigen Open project: nhibernate/nhibernate-core

Public Methods

Method Description
PropertyAccessException ( Exception innerException, string message, bool wasSetter, System persistentType ) : System
PropertyAccessException ( Exception innerException, string message, bool wasSetter, System persistentType, string propertyName ) : System

Initializes a new instance of the PropertyAccessException class.

Protected Methods

Method Description
PropertyAccessException ( SerializationInfo info, StreamingContext context ) : System

Initializes a new instance of the PropertyAccessException class with serialized data.

Private Methods

Method Description
GetObjectData ( SerializationInfo info, StreamingContext context ) : void

Method Details

PropertyAccessException() public method

public PropertyAccessException ( Exception innerException, string message, bool wasSetter, System persistentType ) : System
innerException System.Exception
message string
wasSetter bool
persistentType System
return System

PropertyAccessException() public method

Initializes a new instance of the PropertyAccessException class.
public PropertyAccessException ( Exception innerException, string message, bool wasSetter, System persistentType, string propertyName ) : System
innerException System.Exception /// The exception that is the cause of the current exception. If the innerException parameter /// is not a null reference, the current exception is raised in a catch block that handles /// the inner exception. ///
message string The message that describes the error.
wasSetter bool A indicating if this was a "setter" operation.
persistentType System The that NHibernate was trying find the Property or Field in.
propertyName string The mapped property name that was trying to be accessed.
return System

PropertyAccessException() protected method

Initializes a new instance of the PropertyAccessException class with serialized data.
protected PropertyAccessException ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo /// The that holds the serialized object /// data about the exception being thrown. ///
context System.Runtime.Serialization.StreamingContext /// The that contains contextual information about the source or destination. ///
return System