00001 #ifndef DOMXPathException_HEADER_GUARD_
00002 #define DOMXPathException_HEADER_GUARD_
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 #include <xercesc/util/XercesDefs.hpp>
00021 
00022 XERCES_CPP_NAMESPACE_BEGIN
00023 
00027 class  DOMXPathException
00028 {
00029 public:
00030     
00031     
00032     
00039     DOMXPathException();
00040 
00047     DOMXPathException(short code, const XMLCh *message);
00048 
00054     DOMXPathException(const DOMXPathException  &other);
00055 
00057 
00058     
00059     
00060     
00067     virtual ~DOMXPathException();
00069 
00070 public:
00071 
00073 
00081     enum ExceptionCode {
00082         INVALID_EXPRESSION_ERR = 51,
00083         TYPE_ERR = 52
00084     };
00086 
00087     
00088     
00089     
00096     ExceptionCode   code;
00097 
00104     const XMLCh *msg;
00106 
00107 private:
00108     
00109     
00110     
00111     DOMXPathException& operator = (const DOMXPathException&);
00112 };
00113 
00114 XERCES_CPP_NAMESPACE_END
00115 
00116 #endif