![]() |
Developers ManualProject homepage |
00001 00041 #if !defined(O3DBI_O3DBIEXCEPTION_H) 00042 #define O3DBI_O3DBIEXCEPTION_H 00043 00044 #include "O3DBIObject.h" 00045 00046 #pragma warning(push, 4) 00047 00052 typedef O3DBIObject const* TO3DBIObjectPtr; 00053 00065 class O3DBIException 00066 { 00067 public: 00071 O3DBIException(long lErrorNumber, PC_TCHAR pchErrorText, 00072 PC_TCHAR pchFailedMethodName, 00073 const TO3DBIObjectPtr pObjectAddress); 00077 ~O3DBIException(); 00078 00079 public: 00080 long GetErrorNumber(void) const; 00081 PC_TCHAR GetErrorText(void) const; 00082 PC_TCHAR GetFailedMethodName(void) const; 00083 const TO3DBIObjectPtr GetObjectAddress(void) const; 00084 00085 private: 00086 P_TCHAR _pchErrorText; 00087 P_TCHAR _pchFailedMethodName; 00088 long _lErrorNumber; 00089 TO3DBIObjectPtr _pObjectAddress; 00090 }; 00091 00092 typedef O3DBIException* TO3DBIExceptionPtr; 00093 00094 #pragma warning(pop) 00095 #endif // !defined(O3DBI_O3DBIEXCEPTION_H)
|
Generated on Sun Jan 23 11:36:34 2005 for Oracle Object Oriented Database Interface (O3DBI) by
![]() |