summaryrefslogtreecommitdiff
path: root/shared/xml_error.h
diff options
context:
space:
mode:
Diffstat (limited to 'shared/xml_error.h')
-rw-r--r--shared/xml_error.h14
1 files changed, 4 insertions, 10 deletions
diff --git a/shared/xml_error.h b/shared/xml_error.h
index ea66af89..ffd6af8b 100644
--- a/shared/xml_error.h
+++ b/shared/xml_error.h
@@ -13,7 +13,7 @@
namespace xmlAccess
{
-class XmlError //Exception class
+class FfsXmlError //Exception class
{
public:
enum Severity
@@ -22,16 +22,10 @@ public:
FATAL
};
- XmlError(const wxString& message, Severity sev = FATAL) : errorMessage(message), m_severity(sev) {}
+ FfsXmlError(const wxString& message, Severity sev = FATAL) : errorMessage(message), m_severity(sev) {}
- const wxString& msg() const
- {
- return errorMessage;
- }
- Severity getSeverity() const
- {
- return m_severity;
- }
+ const wxString& msg() const { return errorMessage; }
+ Severity getSeverity() const { return m_severity; }
private:
const wxString errorMessage;
const Severity m_severity;
bgstack15