Skip to content
Snippets Groups Projects
Commit 6844f57c authored by Thomas Moulard's avatar Thomas Moulard
Browse files

Make ExceptionAbstract::getCode() const.

parent f3aa1b46
No related branches found
No related tags found
No related merge requests found
...@@ -78,7 +78,7 @@ public: ...@@ -78,7 +78,7 @@ public:
virtual ~ExceptionAbstract( void ) throw() {} virtual ~ExceptionAbstract( void ) throw() {}
/** Access to the error code. */ /** Access to the error code. */
int getCode (void); int getCode () const;
/** Reference access to the error message (can be empty). */ /** Reference access to the error message (can be empty). */
const std::string& getStringMessage (void) const; const std::string& getStringMessage (void) const;
......
...@@ -59,8 +59,8 @@ getStringMessage (void) const ...@@ -59,8 +59,8 @@ getStringMessage (void) const
return this->message; return this->message;
} }
int ExceptionAbstract:: int
getCode (void) ExceptionAbstract::getCode () const
{ {
return this->code; return this->code;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment