summaryrefslogtreecommitdiffhomepage
path: root/Public/Kits/System.Core/Defs.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'Public/Kits/System.Core/Defs.hxx')
-rw-r--r--Public/Kits/System.Core/Defs.hxx17
1 files changed, 9 insertions, 8 deletions
diff --git a/Public/Kits/System.Core/Defs.hxx b/Public/Kits/System.Core/Defs.hxx
index 9a17d571..84bdc7bb 100644
--- a/Public/Kits/System.Core/Defs.hxx
+++ b/Public/Kits/System.Core/Defs.hxx
@@ -88,6 +88,7 @@ typedef bool BOOL;
#define CA_STATIC static
#define CA_INLINE inline
+#define CA_CONST const
#ifdef __cplusplus
#define CA_CONSTEXPR constexpr
@@ -110,19 +111,19 @@ enum HcProcessCall {
#include <System.Core/Hint.hxx>
-class Exception {
+class SystemException {
public:
- explicit Exception() = default;
- virtual ~Exception() = default;
+ explicit SystemException() = default;
+ virtual ~SystemException() = default;
public:
- HCORE_COPY_DEFAULT(Exception);
+ HCORE_COPY_DEFAULT(SystemException);
public:
- const char *Name();
- const char *Reason();
+ virtual const char *Name() = 0;
+ virtual const char *Reason() = 0;
private:
const char *mReason{
- "System.Core: System Exception: Catastrophic failure!"};
-};
+ "System.Core: SystemException: Catastrophic failure!"};
+}; \ No newline at end of file