Concordia
concordia_exception.hpp
1 #ifndef CONCORDIA_EXCEPTION_HDR
2 #define CONCORDIA_EXCEPTION_HDR
3 
4 #include<exception>
5 #include<string>
6 #include<string.h>
7 
11 class ConcordiaException : public std::exception {
12 public:
15  ConcordiaException() throw();
16 
20  explicit ConcordiaException(const std::string & message) throw();
21 
24  ~ConcordiaException() throw();
25 
28  virtual const char* what() const throw();
29 
30 private:
31  std::string _message;
32 };
33 
34 #endif
Definition: concordia_exception.hpp:11
virtual const char * what() const
Definition: concordia_exception.cpp:14
~ConcordiaException()
Definition: concordia_exception.cpp:11
ConcordiaException()
Definition: concordia_exception.cpp:3