[]
Initializes a new instance of the DataAccessException class.
public DataAccessException()
Initializes a new instance of the DataAccessException class with a specified error message.
public DataAccessException(string msg)
Type | Name | Description |
---|---|---|
string | msg | A message that describes the error. |
Initializes a new instance of the DataAccessException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public DataAccessException(string msg, Exception x)
Type | Name | Description |
---|---|---|
string | msg | The error message that explains the reason for the exception. |
Exception | x | The exception that is the cause of the current exception. |