+++ /dev/null
-#ifndef MSG_EXCEPTION_HPP\r
-#define MSG_EXCEPTION_HPP\r
-\r
-namespace msg\r
-{\r
- class MsgException\r
- {\r
- public:\r
- // Default constructor.\r
- MsgException();\r
- \r
- // This constructor takes as parameter the message of the \r
- // MsgException object.\r
- MsgException(const char* msg);\r
- \r
- // Copy constructor.\r
- MsgException(const MsgException& rMsgException);\r
- \r
- // Destructor.\r
- virtual ~MsgException();\r
- \r
- \r
- // Operations.\r
- \r
- // Returns the message of the exception.\r
- const char* what(void) const;\r
- \r
- \r
- // Getters/setters.\r
- \r
- // Operators.\r
- \r
- private:\r
- \r
- // Attributes.\r
- \r
- // The message of the exception.\r
- const char* msg;\r
- \r
- };\r
-}\r
-\r
-#endif // !MSG_EXCEPTION_HPP
\ No newline at end of file