Inheritance: NHibernate.HibernateException, ISerializable
 /// <summary>
 /// Initializes a new instance of the <see cref="HibernateQueryException"/> class.
 /// </summary>
 /// <param name="ex">The ex.</param>
 public HibernateQueryException(QueryException ex)
     : base(ex.Message, ex)
 {
 }