Go to the documentation of this file.
18 #ifndef _SDF_EXCEPTION_HH_
19 #define _SDF_EXCEPTION_HH_
32 #define sdfthrow(msg) {std::ostringstream throwStream;\
33 throwStream << msg << std::endl << std::flush;\
34 throw sdf::Exception(__FILE__, __LINE__, throwStream.str()); }
63 public:
void Print()
const;
66 private: std::string file;
72 private: std::string str;
77 public:
friend std::ostream &
operator<<(std::ostream& _out,
98 const std::string _msg);
120 const std::string _expr,
121 const std::string _function,
122 const std::string _msg =
"");