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 
00021 
00022 
00023 
00024 
00025 
00026 
00027 
00028 
00029 
00030 
00031 
00032 
00033 
00034 
00035 
00036 
00037 
00038 
00039 
00040 
00041 
00042 
00043 
00044 
00045 
00046 
00047 
00048 
00049 
00050 
00051 
00052 
00053 
00054 
00055 
00056 
00057 
00058 
00059 
00060 #include <xercesc/util/XercesDefs.hpp>
00061 
00062 XERCES_CPP_NAMESPACE_BEGIN
00063 
00067 class  DOMXPathException
00068 {
00069 public:
00070     
00071     
00072     
00079     DOMXPathException();
00080 
00087     DOMXPathException(short code, const XMLCh *message);
00088 
00094     DOMXPathException(const DOMXPathException  &other);
00095 
00097 
00098     
00099     
00100     
00107     virtual ~DOMXPathException();
00109 
00110 public:
00111 
00113 
00121     enum ExceptionCode {
00122         INVALID_EXPRESSION_ERR = 51,
00123         TYPE_ERR = 52
00124     };
00126 
00127     
00128     
00129     
00136     ExceptionCode   code;
00137 
00144     const XMLCh *msg;
00146 
00147 private:
00148     
00149     
00150     
00151     DOMXPathException& operator = (const DOMXPathException&);
00152 };
00153 
00154 XERCES_CPP_NAMESPACE_END
00155 
00156 #endif