EZDatabaseError Class Reference

Implements a Zeos specific database exception with SQL error code. More...

Inheritance diagram for EZDatabaseError:

EDatabaseError

List of all members.

Public Member Functions

 EZDatabaseError (EZSQLThrowable E)
 Constructs a database exception from TZSQLThrowable instance.
 EZDatabaseError (const string Msg)
 Constructs a database exception with a string message.

Public Attributes

Integer ErrorCode
String StatusCode

Private Member Functions

 SetStatusCode (const String Value)

Private Attributes

Integer FErrorCode
String FStatusCode


Detailed Description

Implements a Zeos specific database exception with SQL error code.

Definition at line 114 of file ZAbstractRODataset.pas.


Constructor & Destructor Documentation

EZDatabaseError::EZDatabaseError ( const string  Msg  ) 

Constructs a database exception with a string message.

Parameters:
Msg a string message which describes the error.

Definition at line 993 of file ZAbstractRODataset.pas.

EZDatabaseError::EZDatabaseError ( EZSQLThrowable  E  ) 

Constructs a database exception from TZSQLThrowable instance.

Parameters:
E an original TZSQLThrowable instance.

Definition at line 1006 of file ZAbstractRODataset.pas.


Member Function Documentation

EZDatabaseError::SetStatusCode ( const String  Value  )  [private]

Definition at line 1017 of file ZAbstractRODataset.pas.


Member Data Documentation

See also:
FErrorCode For reading

FErrorCode For writing

Definition at line 138 of file ZAbstractRODataset.pas.

Integer EZDatabaseError::FErrorCode [private]

Definition at line 119 of file ZAbstractRODataset.pas.

String EZDatabaseError::FStatusCode [private]

Definition at line 121 of file ZAbstractRODataset.pas.

See also:
FStatusCode For reading

SetStatusCode For writing

Definition at line 141 of file ZAbstractRODataset.pas.


The documentation for this class was generated from the following file:

Generated on Wed Dec 30 08:42:44 2009 for zeoslib by  doxygen 1.5.7.1