DataAccessException

Thrown when an error occurred and the system is not able to identify it accuratly.

Namespace:
Inetdev.Data
Type:
Class
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
No
Inherits from:
Inetdev.FrameworkException

Constructors

DataAccessException

Creates a new instance of DataAccessException.

Signature:
public Void DataAccessException(msg, src, inner)
Parameters
Name Type Summary
msg String Error message.
src String Source code reference.
inner Exception Original exception.

DataAccessException

Creates a new instance of DataAccessException.

Signature:
public Void DataAccessException(command, src, inner)
Parameters
Name Type Summary
command IDbCommand Database command that causes the error.
src String Source code reference.
inner Exception Original exception.

DataAccessException

Creates a new instance of DataAccessException.

Signature:
public Void DataAccessException(command, msg, src, inner)
Parameters
Name Type Summary
command IDbCommand Database command that causes the error.
msg String Error message.
src String Source code reference.
inner Exception Original exception.

Properties

Command

Get or set the IDbCommand object that causes the data access error.

Signature:
public IDbCommand Command { get; set; }

Methods

ToString

Returns a textual representation of the exception.

Signature:
public String ToString()
Returns

A textual representation of the exception.