Implementation of ADOException indicating that the SQL sent to the database server was invalid (syntax error, invalid object references, etc).

Namespace: NHibernate.Exceptions
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
[SerializableAttribute]
public class SQLGrammarException : ADOException
Visual Basic
<SerializableAttribute> _
Public Class SQLGrammarException _
	Inherits ADOException
Visual C++
[SerializableAttribute]
public ref class SQLGrammarException : public ADOException

Inheritance Hierarchy

System..::..Object
  System..::..Exception
    System..::..ApplicationException
      NHibernate..::..HibernateException
        NHibernate..::..ADOException
          NHibernate.Exceptions..::..SQLGrammarException

See Also