Azavea.Open.DAO.Exceptions.UnableToConnectException.UnableToConnectException C# (CSharp) Method

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
        public UnableToConnectException(IConnectionDescriptor desc, int numTimes, Exception e)
            : base("Unable to connect to database" +
                   ((numTimes > 1) ? (" (" + numTimes + " time(s) in a row).") : "."), desc, e)
        {
        }
UnableToConnectException