summaryrefslogtreecommitdiff
path: root/shared/xml_error.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:12:17 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:12:17 +0200
commitb654dbfa5f3e4a4d02f72023f7c5895635aa6396 (patch)
tree8c1dfe7f638c0fc7afc1d08bc2fc0fd0f8646e5e /shared/xml_error.h
parent3.17 (diff)
downloadFreeFileSync-b654dbfa5f3e4a4d02f72023f7c5895635aa6396.tar.gz
FreeFileSync-b654dbfa5f3e4a4d02f72023f7c5895635aa6396.tar.bz2
FreeFileSync-b654dbfa5f3e4a4d02f72023f7c5895635aa6396.zip
3.18
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