C# Class NHibernate.InstantiationException

Inheritance: NHibernate.HibernateException
Mostra file Open project: nhibernate/nhibernate-core

Public Methods

Method Description
InstantiationException ( string message, Exception innerException, System type ) : System

Initializes a new instance of the InstantiationException class.

InstantiationException ( string message, System type ) : System

Protected Methods

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

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

Private Methods

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

Method Details

InstantiationException() protected method

Initializes a new instance of the InstantiationException class with serialized data.
protected InstantiationException ( 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

InstantiationException() public method

Initializes a new instance of the InstantiationException class.
public InstantiationException ( string message, Exception innerException, System type ) : System
message string The message that describes the error.
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. ///
type System The that NHibernate was trying to instantiate.
return System

InstantiationException() public method

public InstantiationException ( string message, System type ) : System
message string
type System
return System