20 const std::string ExceptionAbstract::EXCEPTION_NAME =
"Abstract";
22 ExceptionAbstract::ExceptionAbstract(
const int &_code,
const string &_msg)
35 return (this->message).c_str();
49 #ifdef SOT_EXCEPTION_PASSING_PARAM 54 strncpy(
function, p.functionPTR, BUFFER_SIZE);
55 strncpy(file, p.filePTR, BUFFER_SIZE);
66 : functionPTR(_function),
line(_line), filePTR(_file), pointersSet(
true) {
69 #endif // #ifdef SOT_EXCEPTION_PASSING_PARAM 79 <<
"]: " << error.
message << endl;
81 #ifdef SOT_EXCEPTION_PASSING_PARAM 83 os <<
"Thrown from " << error.p.file <<
": " << error.p.function <<
" (#" 84 << error.p.line <<
")" << endl;
85 #endif // #ifdef SOT_EXCEPTION_PASSING_PARAM const std::string & getStringMessage() const
Param & initCopy(const Param &p)
#define sotDEBUGOUT(level)
#define sotDEBUGIN(level)
#define sotDEBUGINOUT(level)
const char * getMessage() const
virtual const std::string & getExceptionName() const
SOT_CORE_EXPORT std::ostream & operator<<(std::ostream &os, const VectorMultiBound &v)
virtual const char * what() const