forked from blue/squawk
Refactoring, new messages thread beggining
This commit is contained in:
parent
5575cff1f5
commit
e48444636a
25 changed files with 610 additions and 163 deletions
22
exception.h
Normal file
22
exception.h
Normal file
|
@ -0,0 +1,22 @@
|
|||
#ifndef EXCEPTION_H
|
||||
#define EXCEPTION_H
|
||||
|
||||
#include <stdexcept>
|
||||
#include <string>
|
||||
|
||||
namespace Utils
|
||||
{
|
||||
class Exception:
|
||||
public std::exception
|
||||
{
|
||||
public:
|
||||
Exception();
|
||||
virtual ~Exception();
|
||||
|
||||
virtual std::string getMessage() const = 0;
|
||||
|
||||
const char* what() const noexcept( true );
|
||||
};
|
||||
}
|
||||
|
||||
#endif // EXCEPTION_H
|
Loading…
Add table
Add a link
Reference in a new issue