Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
XMLParsingException.h
Package: XMLGUI_src.zip [view]
Upload User: kj0090
Upload Date: 2007-03-02
Package Size: 39k
Code Size: 1k
Category:
xml-soap-webservice
Development Platform:
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_