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 #ifndef SAXPARSEEXCEPTION_HPP
00084 #define SAXPARSEEXCEPTION_HPP
00085
00086 #include <xercesc/sax/SAXException.hpp>
00087
00088 class Locator;
00089
00107 class SAXParseException : public SAXException
00108 {
00109 public:
00112
00124 SAXParseException(const XMLCh* const message, const Locator& locator);
00125
00126
00146 SAXParseException
00147 (
00148 const XMLCh* const message
00149 , const XMLCh* const publicId
00150 , const XMLCh* const systemId
00151 , const unsigned int lineNumber
00152 , const unsigned int columnNumber
00153 );
00154
00160 SAXParseException(const SAXParseException& toCopy);
00161
00165 ~SAXParseException();
00166
00168
00171
00177 SAXParseException& operator=(const SAXParseException& toAssign);
00179
00182
00191 unsigned int getColumnNumber() const;
00199 unsigned int getLineNumber() const;
00207 const XMLCh* getPublicId() const;
00218 const XMLCh* getSystemId() const;
00220
00221 private:
00222
00223
00224
00225 unsigned int fColumnNumber;
00226
00227 unsigned int fLineNumber;
00228
00229 XMLCh* fPublicId;
00230
00231 XMLCh* fSystemId;
00232
00233
00234 };
00235
00236 #endif