libepp_nicbr
XmlException.H
Go to the documentation of this file.
1 /* ${copyright}$ */
2 /* $Id: XmlException.H 1086 2010-12-10 13:07:28Z eduardo $ */
7 #ifndef __XML_EXCEPTION_H__
8 #define __XML_EXCEPTION_H__
9 
10 #include "libepp_nicbr.H"
11 
12 #include "GeneralException.H"
13 
14 LIBEPP_NICBR_NS_BEGIN
15 
18 {
19 public:
22  INVALID_XML_DOCUMENT = 3000,
23  PARSER_INITIALIZE_EXCEPTION, // 3001
24  UNEXPECTED_PARSER_EXCEPTION, // 3002
25  NULL_XML_DOCUMENT // 3003
26  };
27 
29 
34  XmlException(const int code, const string &msg,
35  const string &low_level_msg = "") :
36  GeneralException(code, msg, low_level_msg) {};
37 
38 
39 };
40 
41 LIBEPP_NICBR_NS_END
42 #endif //__XML_EXCEPTION_H__
ExceptionCode
XML Exception Code.
Definition: XmlException.H:21
Project defines.
XmlException(const int code, const string &msg, const string &low_level_msg="")
Constructor.
Definition: XmlException.H:34
XML Exception Class.
Definition: XmlException.H:17
General Exception Class.
Definition: GeneralException.H:19
General Exception Class.