00001
00002
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
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095
00096
00097
00098 #ifndef SAXPARSEEXCEPTION_HPP
00099 #define SAXPARSEEXCEPTION_HPP
00100
00101 #include <xercesc/sax/SAXException.hpp>
00102
00103 XERCES_CPP_NAMESPACE_BEGIN
00104
00105 class Locator;
00106
00124 class SAXParseException : public SAXException
00125 {
00126 public:
00143 SAXParseException(const XMLCh* const message, const Locator& locator,
00144 MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager);
00145
00146
00168 SAXParseException
00169 (
00170 const XMLCh* const message
00171 , const XMLCh* const publicId
00172 , const XMLCh* const systemId
00173 , const XMLSSize_t lineNumber
00174 , const XMLSSize_t columnNumber
00175 , MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager
00176 );
00177
00183 SAXParseException(const SAXParseException& toCopy);
00184
00188 ~SAXParseException();
00189
00191
00200 SAXParseException& operator=(const SAXParseException& toAssign);
00202
00214 XMLSSize_t getColumnNumber() const;
00222 XMLSSize_t getLineNumber() const;
00230 const XMLCh* getPublicId() const;
00241 const XMLCh* getSystemId() const;
00243
00244 private:
00245
00246
00247
00248 XMLSSize_t fColumnNumber;
00249
00250 XMLSSize_t fLineNumber;
00251
00252 XMLCh* fPublicId;
00253
00254 XMLCh* fSystemId;
00255
00256
00257 };
00258
00259 XERCES_CPP_NAMESPACE_END
00260
00261 #endif