home *** CD-ROM | disk | FTP | other *** search
/ Internet Magazine 2003 October / INTERNET108.ISO / pc / software / windows / building / xmlspy / xmlspyentcomplete5.exe / Data1.cab / _038E78863FBC40C5ABCCEE55E4927A58 < prev    next >
Encoding:
Text File  |  2003-03-17  |  946 b   |  48 lines

  1. ////////////////////////////////////////////////////////////////////////
  2. //
  3. // XmlException.h
  4. //
  5. // This file was generated by XMLSPY 5 Enterprise Edition.
  6. //
  7. // YOU SHOULD NOT MODIFY THIS FILE, BECAUSE IT WILL BE
  8. // OVERWRITTEN WHEN YOU RE-RUN CODE GENERATION.
  9. //
  10. // Refer to the XMLSPY Documentation for further details.
  11. // http://www.altova.com/xmlspy
  12. //
  13. ////////////////////////////////////////////////////////////////////////
  14.  
  15.  
  16. #ifndef ALTOVA_XMLEXCEPTION_H_INCLUDED
  17. #define ALTOVA_XMLEXCEPTION_H_INCLUDED
  18.  
  19. #if _MSC_VER > 1000
  20.     #pragma once
  21. #endif // _MSC_VER > 1000
  22.  
  23. namespace altova {
  24.  
  25.  
  26. class ALTOVA_DECLSPECIFIER CXmlException
  27. {
  28. public:
  29.     typedef enum
  30.     {
  31.         eError1,
  32.         eError2
  33.     } ECode;
  34.  
  35.     CXmlException(int nCode, const tstring& sMessage);
  36.     int GetCode();
  37.     tstring GetInfo();
  38.  
  39. protected:
  40.     int        m_nCode;
  41.     tstring    m_sMessage;
  42. };
  43.  
  44.  
  45. } // namespace altova
  46.  
  47. #endif // ALTOVA_XMLEXCEPTION_H_INCLUDED
  48.