38 #ifdef ORO_PRAGMA_INTERFACE 39 #pragma implementation 47 using namespace detail;
51 std::ostringstream stream;
52 stream <<
"Wrong number of arguments in call of function \"" 53 << mcomponentname <<
"." << mmethodname
54 <<
"\": expected " << mexpectednumber
55 <<
", received " << mreceivednumber <<
".";
62 std::ostringstream stream;
63 stream <<
"Wrong type of argument provided for argument number " 64 << margnumber <<
" in call of function \"" 65 << mcomponentname <<
"." << mmethodname
66 <<
"\". Expected type "<<mexpected<<
", got type "<< mreceived <<
".";
76 : mpe( rhs.mpe->
copy() ), mfile( rhs.mfile ), mline( rhs.mline ),
77 mcolumn( rhs.mcolumn )
83 std::ostringstream stream;
84 stream <<
"Parse error at line " 85 << mline <<
": " << mpe->
what();
90 std::vector<DataSourceBase::shared_ptr> args)
91 : margsig(
"No such constructor found: " + tname +
"(")
94 for(std::vector<DataSourceBase::shared_ptr>::iterator it = args.begin();
97 margsig += (*it)->getType();
98 if ( ++it != args.end() )
const std::string what() const
const std::string what() const
virtual const std::string what() const =0
parse_exception_no_such_constructor(const std::string &tname, std::vector< base::DataSourceBase::shared_ptr > args)
This is an exception class that keeps a parse_exception pointer along with the location in the file a...
const std::string what() const
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
parse_exception_wrong_number_of_arguments * copy() const
file_parse_exception(const file_parse_exception &rhs)