aboutsummaryrefslogtreecommitdiff
path: root/include/cru/base/Exception.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/base/Exception.h')
-rw-r--r--include/cru/base/Exception.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/cru/base/Exception.h b/include/cru/base/Exception.h
index 609fd2c9..b299acc4 100644
--- a/include/cru/base/Exception.h
+++ b/include/cru/base/Exception.h
@@ -34,6 +34,13 @@ class CRU_BASE_API Exception : public std::exception {
std::unique_ptr<std::exception> inner_;
};
+class CRU_BASE_API PlatformException : public Exception {
+ public:
+ using Exception::Exception; // inherit constructors
+
+ CRU_DEFAULT_DESTRUCTOR(PlatformException)
+};
+
class CRU_BASE_API TextEncodeException : public Exception {
public:
using Exception::Exception;