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

This exception is thrown when we are unable to connect to a database.
Inheritance: ExceptionWithConnectionInfo
Datei anzeigen Open project: azavea/net-dao

Public Methods

Method Description
UnableToConnectException ( IConnectionDescriptor desc, int numTimes, Exception e ) : System

Unable to establish a database connection.

Method Details

UnableToConnectException() public method

Unable to establish a database connection.
public UnableToConnectException ( IConnectionDescriptor desc, int numTimes, Exception e ) : System
desc IConnectionDescriptor Connection descriptor we were using to try to connect.
numTimes int How many times in a row have we failed to connect, if /// known. This is used in the message only if it is greater /// than 1.
e System.Exception Exception that was thrown by the database driver.
return System