The AdoException class contains the following constructors:
AdoException(int id)
AdoException(int hr, String s)
AdoException(String s)
Creates an AdoException object that includes a specific error number.
public AdoException(int id);
id | An integer specifying an error number. Specify one of the constants defined in the AdoEnums.ErrorValue class. |
Creates an AdoException object that includes an HRESULT and an associated exception message.
public AdoException(int hr, String s);
hr | An integer specifying an HRESULT returned by COM. This value is converted to a compatible error number. |
s | The message associated with the exception. |
Creates an AdoException object including an associated exception message.
public AdoException(String s);
s | The message associated with the exception. |