home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ool_main.zip / ool / include / xdbaseex.h < prev    next >
C/C++ Source or Header  |  1997-08-12  |  1KB  |  28 lines

  1. #ifndef __XDBASEEXCEPTION_H__
  2. #define __XDBASEEXCEPTION_H__
  3.  
  4. /*===========================================================================*/
  5. /* OOL ------------------- the Open Object Library ------------------- r 1.0 */
  6. /*===========================================================================*/
  7. /*                              class: XDBaseException                       */
  8. /*                       derived from: XException                            */
  9. /*                        last update: 5/97                                  */
  10. /*                      programmed by: Stefan von Brauk (sbrauk@gwdg.de)     */
  11. /*===========================================================================*/
  12.  
  13.  
  14. #include "Xheaders.h"
  15. #include XException_i
  16.  
  17.  
  18. class _export_ XDBaseException: public XException
  19. {
  20.    public:
  21.       XDBaseException(char * errorMsg, LONG errorCode, LONG lineNumber=0, char * fileName=""):XException(errorMsg, errorCode, lineNumber, fileName)
  22.          {;}
  23. };
  24.  
  25. #define OOLDbaseThrow(a, b) throw( XDBaseException(a, b, __LINE__, __FILE__))
  26.  
  27. #endif
  28.