00001
00007 #ifndef _ParseError_h
00008 #define _ParseError_h
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #include "Error.h"
00021
00022
00023
00024
00025
00026 class ParseError
00027 : public Error
00028 {
00029 public:
00030
00031
00032
00033
00034
00035
00036
00041 ParseError(const ParseError& from);
00042
00043
00051 ParseError(const wxString& input, const wxString& message, unsigned position);
00052
00053
00056 ~ParseError(void);
00057
00058
00059
00060
00067 ParseError& operator=(const ParseError& from);
00068
00069
00070
00071
00072
00075 const wxString& Input() const;
00076
00079 const wxString& ErrorMessage() const;
00080
00084 unsigned Position() const;
00085
00086
00087
00088 protected:
00089 private:
00090 wxString mInput;
00091 wxString mMessage;
00092 unsigned mPosition;
00093 };
00094
00095
00096
00097
00098
00099
00100
00101 #endif // _ParseError_h_