home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 Mobile / Chip_Mobile_2001.iso / palm / business / printcar / printcar.exe / src / DB / DbError.h < prev    next >
C/C++ Source or Header  |  2000-06-10  |  738b  |  30 lines

  1. //
  2. // $Id: DbError.h,v 1.4 2000/06/10 00:20:03 sergey Exp $
  3. //
  4.  
  5. #ifndef _DbError_h_
  6. #define _DbError_h_
  7.  
  8.  
  9. namespace DB
  10. {
  11.     //
  12.     // Error class used to report DB library errors.
  13.     //
  14.     class DbError
  15.     {
  16.     private:
  17.         DbError() {}
  18.         ~DbError() {}
  19.  
  20.     public:
  21.         static void openError(const char* file, int line, const char* databaseName, int error);
  22.         static void closeError(const char* file, int line, int error);
  23.         static void readAppInfoError(const char* file, int line, int error);
  24.         static void readRecordError(const char* file, int line, int error);
  25.         static void getRecordInfoError(const char* file, int line, int error);
  26.     };
  27. }
  28.  
  29. #endif _DbError_h_
  30.