1 #include "Exception.hpp"
\r
8 Exception::Exception()
\r
10 reason = "Unknown reason";
\r
14 Exception::Exception(const Exception& rException)
\r
16 this->reason = rException.toString();
\r
20 Exception::Exception(const char* reason)
\r
22 this->reason = reason;
\r
26 Exception::~Exception()
\r
31 const char* Exception::toString(void) const
\r
33 return this->reason;
\r
37 const Exception& Exception::operator = (const Exception& rException)
\r
39 this->reason = rException.toString();
\r
45 }// namespace SimGrid
\r