46 const std::string& iq_name
47 ,
const std::string& iq_is_type_name
48 ,
const std::string& iq_want_type_name
53 ,
"cast_id<T>(state,iq_name) : Error, the iteration quantity \'"
54 << iq_name <<
"\' exists with type \'" << iq_is_type_name <<
"\' but does not "
55 <<
"support the \'IterQuantityAccess<" << iq_want_type_name <<
">\' interface" );
60 ,
const std::string& iq_name
61 ,
const std::string& iq_is_type_name
62 ,
const std::string& iq_want_type_name
67 ,
"cast_id<T>(state,iq_id,iq_name) : Error, the iteration quantity \'"
68 << iq_name <<
"\' with iq_id = \'" << iq_id
69 <<
"\' exists with type \'" << iq_is_type_name <<
"\' but does not "
70 <<
"support the \'IterQuantityAccess<" << iq_want_type_name <<
">\' interface" );
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
void imp_cast_iq_throw_error(const std::string &iq_name, const std::string &iq_is_type_name, const std::string &iq_want_type_name)