1 #ifndef ERRORHANDLING_H_
2 #define ERRORHANDLING_H_
13 SException(
const string & info,
const string & type =
"") {
16 cout <<
"EXCEPTION: " << type <<
" " << info << endl;
29 inline void ThrowError(
const string & info,
const string & type) {
35 #endif //ERRORHANDLING_H_
string m_type
Definition: ErrorHandling.h:23
void ThrowError(const string &info, const string &type)
Definition: ErrorHandling.h:29
string m_info
Definition: ErrorHandling.h:24
SException(const string &info, const string &type="")
Definition: ErrorHandling.h:13
void Throw()
Definition: ErrorHandling.cc:27
Definition: ErrorHandling.h:10