C# Class Azavea.Open.DAO.Exceptions.UnableToRunSqlException

This exception is thrown when we are able to connect to a DB, but we get an exception executing a SQL statement.
Inheritance: ExceptionWithConnectionInfo
Datei anzeigen Open project: azavea/net-dao

Public Methods

Method Description
UnableToRunSqlException ( IConnectionDescriptor desc, string sql, IEnumerable sqlParams, Exception e ) : System

Unable to execute SQL.

UnableToRunSqlException ( string message, IConnectionDescriptor desc, string sql, IEnumerable sqlParams, Exception e ) : System

Unable to execute SQL.

Method Details

UnableToRunSqlException() public method

Unable to execute SQL.
public UnableToRunSqlException ( IConnectionDescriptor desc, string sql, IEnumerable sqlParams, Exception e ) : System
desc IConnectionDescriptor Connection descriptor we connected with.
sql string SQL statement we were trying to execute.
sqlParams IEnumerable Parameters for the sql statement (may be null).
e System.Exception Exception that was thrown by the database driver.
return System

UnableToRunSqlException() public method

Unable to execute SQL.
public UnableToRunSqlException ( string message, IConnectionDescriptor desc, string sql, IEnumerable sqlParams, Exception e ) : System
message string Start of the message, if you don't want to use the default.
desc IConnectionDescriptor Connection descriptor we connected with.
sql string SQL statement we were trying to execute.
sqlParams IEnumerable Parameters for the sql statement (may be null).
e System.Exception Exception that was thrown by the database driver.
return System