DATRW++ library: seismic data I/O with multiple formats

◆ Exception() [3/5]

datrw::Exception::Exception ( const std::string &  message,
const std::string &  condition 
)

Creates an exception with message and failed assertion.

construct with message and file info

Definition at line 63 of file exception.cc.

References Mreport_on_construct, and report().

64  :
65  Mmessage(message), Mfile(""), Mline(0), Mcondition(condition)
66  { if (Mreport_on_construct) { report(); } }
static bool Mreport_on_construct
Shall we print to cerr at construction time?
Definition: exception.h:99
const int & Mline
pointer to line number in source file
Definition: exception.h:105
std::string Mmessage
pointer to message string
Definition: exception.h:101
std::string Mfile
pointer to file name string
Definition: exception.h:103
std::string Mcondition
pointer to assertion condition text string
Definition: exception.h:107
virtual void report() const
Screen report.
Definition: exception.cc:96
Here is the call graph for this function: