- Visual C++源码
- Visual Basic源码
- C++ Builder源码
- Java源码
- Delphi源码
- C/C++源码
- PHP源码
- Perl源码
- Python源码
- Asm源码
- Pascal源码
- Borland C++源码
- Others源码
- SQL源码
- VBScript源码
- JavaScript源码
- ASP/ASPX源码
- C#源码
- Flash/ActionScript源码
- matlab源码
- PowerBuilder源码
- LabView源码
- Flex源码
- MathCAD源码
- VBA源码
- IDL源码
- Lisp/Scheme源码
- VHDL源码
- Objective-C源码
- Fortran源码
- tcl/tk源码
- QT源码
XMLParsingException.h
上传用户:kj0090
上传日期:2007-03-02
资源大小:39k
文件大小:1k
源码类别:
xml/soap/webservice
开发平台:
C/C++
- /***********************************************************************
- *
- * This module is part of the XMLGUI system
- *
- * File name: XMLParsingException.h
- *
- * Creation date: [15 AUGUST 2002]
- *
- * Author(s): [Kolosenko Ruslan]
- *
- * Description: Declares the class CXMLParsingException
- *
- **********************************************************************/
- #ifndef AFX_XML_PARSING_EXCEPTION_H_RKOL_8_15_2002_
- #define AFX_XML_PARSING_EXCEPTION_H_RKOL_8_15_2002_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // useful macro in XML parsing
- #define WATCH_XML_EXCEPTION(hr) if ( FAILED(hr) ) throw CXMLParsingException(hr);
- #include "XMLGUIMacro.h"
- class XMLGUI_EXT_CLASS CXMLParsingException
- {
- public:
- CXMLParsingException(); // default constructor
- CXMLParsingException(HRESULT hr); // constructor using COM error descriptor
- CXMLParsingException(LPCTSTR szCause); // constructor using text description of error
- virtual ~CXMLParsingException();
- LPCTSTR GetDescription() const; // returns textual description of the error
- protected:
- _com_error m_Error; // COM error holder
- CString m_szDescription; // text of the exception cause description
- };
- #endif // AFX_XML_PARSING_EXCEPTION_H_RKOL_8_15_2002_