summaryrefslogtreecommitdiffhomepage
path: root/proto-wine/proton.h
diff options
context:
space:
mode:
authorRussell Sim <russell.sim@gmail.com>2020-06-17 08:00:32 +0200
committerRussell Sim <russell.sim@gmail.com>2020-06-17 08:00:32 +0200
commit342dbc9724c451ce8fc96bb5437030b8c1875fee (patch)
tree2026a53ee348eee960be7fc1375d9a71ee131277 /proto-wine/proton.h
parent8444c609936606a361dd2681a6e2356e0d5ee81c (diff)
Replace exception handling with error return value
Diffstat (limited to 'proto-wine/proton.h')
-rw-r--r--proto-wine/proton.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/proto-wine/proton.h b/proto-wine/proton.h
deleted file mode 100644
index 08179c3d..00000000
--- a/proto-wine/proton.h
+++ /dev/null
@@ -1,23 +0,0 @@
-#pragma once
-
-#include <QString>
-#include <QException>
-
-class ProtonException : public QException
-{
-public:
- ProtonException(const QString& message)
- : message(message) {}
-
- virtual ~ProtonException()
- {}
-
- void raise() const { throw *this; }
- ProtonException *clone() const { return new ProtonException(*this); }
-
- QString getMessage() const {
- return message;
- }
-private:
- QString message;
-};