Go to the documentation of this file.
22 #ifndef _GAZEBO_EXCEPTION_HH_
23 #define _GAZEBO_EXCEPTION_HH_
38 #define gzthrow(msg) {std::ostringstream throwStream;\
39 throwStream << msg << std::endl << std::flush;\
40 throw gazebo::common::Exception(__FILE__, __LINE__, throwStream.str()); }
69 public:
void Print()
const;
72 private: std::string file;
78 private: std::string str;
83 public:
friend std::ostream &
operator<<(std::ostream& _out,
104 const std::string _msg);
126 const std::string _expr,
127 const std::string _function,
128 const std::string _msg =
"");