00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef zz_db_exception_h
00011 #define zz_db_exception_h
00012
00013 #include <zz_log_exception.h>
00014 #include <zz_errors.h>
00015
00016 #include <otl.h>
00017
00018 #include <zz_db.h>
00019
00020
00021
00022
00023
00024
00025
00026 class ZZ_API CzzDbException: public CzzLogException
00027 {
00028 public:
00029
00030
00031 CzzDbException(const int row
00032 , const char* file
00033 , const CzzString descr);
00034
00035
00036 CzzDbException(const int row
00037 , const char* file
00038 , const CzzString descr
00039 , otl_exception& e);
00040
00041
00042
00043 CzzDbException(const int row
00044 , const char* file
00045 , const CzzString descr
00046 , CzzDb& db);
00047
00048
00049 CzzDbException(const int row
00050 , const char* file
00051 , const CzzString descr
00052 , CzzSQLStream& s);
00053
00054
00055 ~CzzDbException();
00056
00057
00058
00059 static otl_exception m_LastExtException;
00060
00061 protected:
00062 void Init(const int row
00063 , const char* file
00064 , const CzzString descr
00065 , const char* ora_msg
00066 , const char* ora_stm);
00067
00068
00069 };
00070
00071 #endif
00072
00073
00074
00075
00076