9#include "crocoddyl/core/utils/exception.hpp" 
   13Exception::Exception(
const std::string &msg, 
const char *file, 
const char *func,
 
   16  ss << 
"In " << file << 
"\n";
 
   25Exception::~Exception() NOEXCEPT {}
 
   27const char *Exception::what() const NOEXCEPT { 
return msg_.c_str(); }
 
   29std::string Exception::getMessage()
 const { 
return exception_msg_; }
 
   31std::string Exception::getExtraData()
 const { 
return extra_data_; }