C# Class NHibernate.QueryException

Inheritance: NHibernate.HibernateException, ISerializable
Mostrar archivo Open project: nhibernate/nhibernate-core Class Usage Examples

Public Methods

Method Description
QueryException ( Exception innerException ) : System

Initializes a new instance of the QueryException class.

QueryException ( string message ) : System

Initializes a new instance of the QueryException class.

QueryException ( string message, Exception innerException ) : System

Initializes a new instance of the QueryException class.

QueryException ( string message, string queryString ) : System

Initializes a new instance of the QueryException class.

Protected Methods

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

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

Private Methods

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

Method Details

QueryException() protected method

protected QueryException ( ) : System
return System

QueryException() public method

Initializes a new instance of the QueryException class.
public QueryException ( Exception innerException ) : 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. ///
return System

QueryException() protected method

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

QueryException() public method

Initializes a new instance of the QueryException class.
public QueryException ( string message ) : System
message string The message that describes the error.
return System

QueryException() public method

Initializes a new instance of the QueryException class.
public QueryException ( string message, Exception innerException ) : 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. ///
return System

QueryException() public method

Initializes a new instance of the QueryException class.
public QueryException ( string message, string queryString ) : System
message string The message that describes the error.
queryString string The query that contains the error.
return System