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 #ifndef SAXPARSEEXCEPTION_HPP
00081 #define SAXPARSEEXCEPTION_HPP
00082 
00083 #include    <sax/SAXException.hpp>
00084 
00085 class Locator;
00086 
00104 class  SAXParseException : public SAXException
00105 {
00106 public:
00109 
00121     SAXParseException(const XMLCh* const message, const Locator& locator);
00122 
00123 
00143     SAXParseException
00144     (
00145         const   XMLCh* const    message
00146         , const XMLCh* const    publicId
00147         , const XMLCh* const    systemId
00148         , const unsigned int    lineNumber
00149         , const unsigned int    columnNumber
00150     );
00151 
00157     SAXParseException(const SAXParseException& toCopy);
00158 
00162     ~SAXParseException();
00163 
00165 
00168 
00174     SAXParseException& operator=(const SAXParseException& toAssign);
00176 
00179 
00188     unsigned int getColumnNumber() const;
00196     unsigned int getLineNumber() const;
00204     const XMLCh* getPublicId() const;
00215     const XMLCh* getSystemId() const;
00217 
00218 private:
00219     
00220     
00221     
00222     unsigned int    fColumnNumber;
00223     
00224     unsigned int    fLineNumber;
00225     
00226     XMLCh*          fPublicId;
00227     
00228     XMLCh*          fSystemId;
00229     
00230 
00231 };
00232 
00233 #endif