#include <DbiException.h>
Public Member Functions | |
| DbiException (const char *msg=0, Int_t code=-1, Int_t dbType=-1) | |
| DbiException (const TSQLServer &server, Int_t dbType=-1) | |
| DbiException (const TSQLStatement &statement, Int_t dbType=-1) | |
| DbiException (const DbiException &that) | |
| virtual | ~DbiException () |
| const std::string & | GetMessage () const |
| Int_t | GetErrorCode () const |
| Int_t | GetDbType () const |
Private Attributes | |
| std::string | fMessage |
| The message associated with the exception. | |
| Int_t | fErrorCode |
| The exception error code. | |
| Int_t | fDbType |
| The type of database that issued the exception. | |
DatabaseInterface
Contact: n.west1@physics.ox.ac.uk
Definition at line 38 of file DbiException.h.
|
||||||||||||||||
|
Definition at line 28 of file DbiException.cxx. 00030 : 00031 fMessage(msg), 00032 fErrorCode(code), 00033 fDbType(dbType) 00034 { 00035 00036 LEA_CTOR //Leak Checker 00037 MSG("Dbi", Msg::kVerbose) << "Creating DbiException" << endl; 00038 00039 }
|
|
||||||||||||
|
Definition at line 43 of file DbiException.cxx. References LEA_CTOR, MSG, and server. 00044 : 00045 fMessage(server.GetErrorMsg()), 00046 fErrorCode(server.GetErrorCode()), 00047 fDbType(dbType) 00048 { 00049 00050 LEA_CTOR //Leak Checker 00051 MSG("Dbi", Msg::kVerbose) << "Creating DbiException" << endl; 00052 00053 }
|
|
||||||||||||
|
Definition at line 57 of file DbiException.cxx. 00058 : 00059 fMessage(statement.GetErrorMsg()), 00060 fErrorCode(statement.GetErrorCode()), 00061 fDbType(dbType) 00062 { 00063 00064 LEA_CTOR //Leak Checker 00065 MSG("Dbi", Msg::kVerbose) << "Creating DbiException" << endl; 00066 00067 }
|
|
|
Definition at line 72 of file DbiException.cxx. 00073 {
00074
00075 LEA_CTOR //Leak Checker
00076 MSG("Dbi", Msg::kVerbose) << "Creating DbiException" << endl;
00077
00078 *this = that;
00079
00080 }
|
|
|
Definition at line 85 of file DbiException.cxx. 00085 {
00086
00087
00088 LEA_DTOR //Leak Checker
00089 MSG("Dbi", Msg::kVerbose) << "Destroying DbiException" << endl;
00090
00091 }
|
|
|
Definition at line 53 of file DbiException.h. Referenced by operator<<(). 00053 { return fDbType; }
|
|
|
Definition at line 52 of file DbiException.h. Referenced by operator<<(). 00052 { return fErrorCode; }
|
|
|
Definition at line 51 of file DbiException.h. Referenced by operator<<(). 00051 { return fMessage; }
|
|
|
The type of database that issued the exception.
Definition at line 69 of file DbiException.h. |
|
|
The exception error code.
Definition at line 66 of file DbiException.h. |
|
|
The message associated with the exception.
Definition at line 63 of file DbiException.h. |
1.3.9.1