OpenWAM
Exception.cpp
Go to the documentation of this file.
1 
26 #include "Exception.hpp"
27 
28 using namespace std;
29 
30 Exception::Exception() {
31  msg = "Unknown error!";
32 }
33 
34 Exception::Exception(const string& __arg) {
35  msg = __arg;
36 }
37 
38 Exception::~Exception() {
39 }
40 
41 const char* Exception::what() {
42  return msg.c_str();
43 }
44 
Exception.hpp