summaryrefslogtreecommitdiff
path: root/mtxexception.h
diff options
context:
space:
mode:
Diffstat (limited to 'mtxexception.h')
-rw-r--r--mtxexception.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/mtxexception.h b/mtxexception.h
index f185404..03b8957 100644
--- a/mtxexception.h
+++ b/mtxexception.h
@@ -25,9 +25,15 @@
#define MTX_EXCEPTION_DEFAULT_MESSAGE "undefined mtx exception"
+/**
+ * Base class for mtx exceptions.
+ */
class MtxException: public std::exception
{
protected:
+ /**
+ * Address of message returned by what().
+ */
const char *message;
public: