public UnableToConnectException ( IConnectionDescriptor desc, int numTimes, |
||
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 | Exception that was thrown by the database driver. | |
Résultat | 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)
{
}