summaryrefslogtreecommitdiff
path: root/include/base.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/base.h')
-rw-r--r--include/base.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/base.h b/include/base.h
index e75b4029f..8d8f7b96c 100644
--- a/include/base.h
+++ b/include/base.h
@@ -150,14 +150,13 @@ class reference
*/
class CoreExport CoreException : public std::exception
{
- protected:
+ public:
/** Holds the error message to be displayed
*/
const std::string err;
/** Source of the exception
*/
const std::string source;
- public:
/** Default constructor, just uses the error mesage 'Core threw an exception'.
*/
CoreException() : err("Core threw an exception"), source("The core") {}