28 #include <ArmarXCore/interface/observers/VariantBase.h>
41 std::stringstream sstream;
43 if (!infoString.empty())
45 sstream <<
"\nInfo: " << infoString;
47 reason = sstream.str();
51 std::stringstream sstream;
52 sstream <<
"Type1: " << typeId1 <<
" Type2: " << typeId2;
53 if (!infoString.empty())
55 sstream <<
"\nInfo: " << infoString;
57 reason = sstream.str();
64 return "armarx::exceptions::user::InvalidTypeException";
72 std::stringstream sstream;
74 if (!infoString.empty())
76 sstream <<
"\nInfo: " << infoString;
78 reason = sstream.str();
82 std::stringstream sstream;
83 sstream <<
"Unsupported Type: " << typeId;
84 if (!infoString.empty())
86 sstream <<
"\nInfo: " << infoString;
88 reason = sstream.str();
95 return "armarx::exceptions::user::UnsupportedTypeException";