include/XmlException.H

Go to the documentation of this file.
00001 /* ${copyright}$ */
00002 /* $Id: XmlException.H 280 2006-02-07 12:22:07Z cesar $ */
00007 #ifndef __XML_EXCEPTION_H__
00008 #define __XML_EXCEPTION_H__
00009 
00010 #include "libepp_nicbr.H"
00011 
00012 #include "GeneralException.H"
00013 
00014 LIBEPP_NICBR_NS_BEGIN
00015 
00017 class XmlException : public GeneralException
00018 {
00019 public:
00021   enum ExceptionCode {
00022     INVALID_XML_DOCUMENT = 3000,
00023     PARSER_INITIALIZE_EXCEPTION,  // 3001
00024     UNEXPECTED_PARSER_EXCEPTION, // 3002
00025     NULL_XML_DOCUMENT // 3003
00026   };
00027   
00029 
00034   XmlException(const int code, const string &msg, 
00035                const string &low_level_msg = "") : 
00036     GeneralException(code, msg, low_level_msg) {}; 
00037 
00038   
00039 };
00040 
00041 LIBEPP_NICBR_NS_END
00042 #endif //__XML_EXCEPTION_H__

Generated on Thu Jun 8 17:40:00 2006 for libepp_nicbr by  doxygen 1.4.6