00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef GDS_ERROR_H
00013 #define GDS_ERROR_H
00014
00015 #include "wx/string.h"
00016
00017 #include "wx/canvas/candefs.h"
00018
00019
00020
00021
00022
00023 class A2DCANVASDLLEXP GDS_Error
00024 {
00025 public:
00026 GDS_Error( const wxString& message, const wxString& header = wxT("") );
00027 GDS_Error(const GDS_Error& other);
00028 ~GDS_Error();
00029
00030 wxString& GetErrorMessage() { return m_message; }
00031 wxString& GetHeaderMessage() { return m_header; }
00032
00033 protected:
00034
00035 wxString m_message;
00036 wxString m_header;
00037 };
00038
00039 #endif