Go to the documentation of this file.
14 : code(_code), message(_msg) {}
27 if (&p ==
this)
return *
this;
44 : functionPTR(_function), line(_line), filePTR(_file), pointersSet(true) {
50 <<
"]: " << error.
message << std::endl;
52 #ifdef DYNAMICGRAPH_EXCEPTION_PASSING_PARAM
54 os <<
"Thrown from " << error.p.file <<
": " << error.p.function <<
" (#"
55 << error.p.line <<
")" << std::endl;
56 #endif // DYNAMICGRAPH_EXCEPTION_PASSING_PARAM
const std::string & getStringMessage() const
Reference access to the error message (can be empty).
Class owned by exceptions to store error locations.
static const int BUFFER_SIZE
Abstract root class for all dynamic-graph exceptions.
#define dgDEBUGOUT(level)
int getCode() const
Access to the error code.
#define dgDEBUGIN(level)
VP_DEBUG.
ExceptionAbstract()
Forbid the empty constructor (private).
DYNAMIC_GRAPH_DLLAPI friend std::ostream & operator<<(std::ostream &os, const ExceptionAbstract &err)
Print the error structure.
const char * getMessage() const
Access to the pointer on the array of char related to the error string.
static const std::string EXCEPTION_NAME
std::string message
Error message (can be empty).
Param & initCopy(const Param &p)
#define dgDEBUGINOUT(level)
virtual const std::string & getExceptionName() const
dynamic-graph
Author(s): Nicolas Mansard, Olivier Stasse
autogenerated on Fri Aug 2 2024 08:36:38