37 #ifndef ORO_PARSE_EXCEPTION_HPP    38 #define ORO_PARSE_EXCEPTION_HPP    43 #include "../base/DataSourceBase.hpp"    45 #ifdef ORO_PRAGMA_INTERFACE    51     class parse_exception;
    69                               int line, 
int column )
    70             : mpe( pe ), mfile( file ), mline( line ), mcolumn( column )
    75         const std::string what() 
const;
    91         virtual const std::string what() 
const = 0;
   168                 return "The string \"" + mident + 
"\" cannot be used as an identifer.";
   198                 return "Semantic error: " + mdesc;
   206             const std::string& 
desc()
 const   228                 return "Fatal Semantic error: " + mdesc;
   236             const std::string& 
desc()
 const   259                 return "Parse Failure Exception: " + mreason;
   284                 return "Syntactic error: " + mdesc;
   292             const std::string& 
desc()
 const   305                 : mname( name ), mmeth(meth)
   311                 return "Service or Task \"" + mname + 
"\" has no Peer or Service "+mmeth+
" (or "+mname+
" was not found at all).";
   328             std::string mcomponentname;
   329             std::string mmethodname;
   332                                                         const std::string& componentname, 
const std::string& methodname )
   333                 : mcomponentname( componentname ), mmethodname( methodname )
   339                 return "No method \"" + mmethodname + 
"\" registered for the object or task \"" + mcomponentname + 
"\".";
   349                 return mcomponentname;
   361             std::string mcomponentname;
   362             std::string mmethodname;
   367                                                       const std::string& componentname, 
const std::string& methodname,
   368                                                       int expectednumber, 
int receivednumber )
   369                 : mcomponentname( componentname ), mmethodname( methodname ),
   370                   mexpectednumber( expectednumber ),
   371                   mreceivednumber( receivednumber )
   375             const std::string what() 
const;
   384                 return mcomponentname;
   394                 return mexpectednumber;
   399                 return mreceivednumber;
   406             std::string mcomponentname;
   407             std::string mmethodname;
   409             std::string mexpected;
   410             std::string mreceived;
   413                                                    const std::string& componentname, 
const std::string& methodname,
   414                                                    int argnumber, 
const std::string& expected, 
const std::string& received )
   415                 : mcomponentname( componentname ), mmethodname( methodname ),
   416                   margnumber( argnumber ), mexpected( expected), mreceived( received )
   420             const std::string what() 
const;
   429                 return mcomponentname;
   453             const std::string 
what() 
const throw()
   455                 return "Use of undefined value: \"" + mname + 
"\".";
   474                                                 std::vector<base::DataSourceBase::shared_ptr> args);
   476             const std::string 
what()
 const { 
return margsig; }
 const std::string & componentName() const 
 
const std::string what() const 
 
A Semantic parse exception means the parser recognised a part of the string, but got into trouble lat...
 
const std::string what() const 
 
const std::string what() const 
 
const std::string & desc() const 
 
parse_exception_wrong_number_of_arguments(const std::string &componentname, const std::string &methodname, int expectednumber, int receivednumber)
 
parse_exception_wrong_type_of_argument(const std::string &componentname, const std::string &methodname, int argnumber, const std::string &expected, const std::string &received)
 
parse_exception_undefined_value(const std::string &name)
 
parse_exception_parser_fail(const std::string &reason)
 
semantic_parse_exception()
 
parse_exception_illegal_identifier(const std::string &ident)
 
const std::string & desc() const 
 
virtual ~parse_exception()
 
const std::string & identifier() const 
 
parse_exception_wrong_type_of_argument * copy() const 
 
const std::string & methodName() const 
 
int expectedNumber() const 
 
parse_exception class that is used for various semantic errors for which it was not worth defining a ...
 
const std::string what() const 
 
This is an exception class that keeps a parse_exception pointer along with the location in the file a...
 
parse_exception class that is used for various syntactic errors for which it was not worth defining a...
 
const std::string & methodName() const 
 
file_parse_exception(parse_exception *pe, const std::string &file, int line, int column)
 
const std::string what() const 
 
int argumentNumber() const 
 
int receivedNumber() const 
 
const std::string what() const 
 
parse_exception_undefined_value * copy() const 
 
parse_exception_no_such_constructor * copy() const 
 
This is the uppermost exception class in the parser system. 
 
const std::string what() const 
 
parse_exception_semantic_error * copy() const 
 
const std::string & desc() const 
 
parse_exception_no_such_method_on_component * copy() const 
 
const std::string & componentName() const 
 
A normal syntactic parse exception means the parser recognised the input, but got stuck later due to ...
 
parse_exception_syntactic_error * copy() const 
 
#define RTT_SCRIPTING_EXPORT
 
parse_exception_fatal_semantic_error * copy() const 
 
parse_exception_syntactic_error(const std::string &desc)
 
A Fatal Syntactic parse exception means the parser knows the input is plain wrong and no further atte...
 
parse_exception class that is used for fatal semantic errors for which it was not worth defining a pr...
 
parse_exception_parser_fail * copy() const 
 
const std::string & componentName() const 
 
const std::string what() const 
 
const std::string what() const 
 
const std::string & componentName() const 
 
parse_exception_semantic_error(const std::string &desc)
 
fatal_semantic_parse_exception()
 
parse_exception_fatal_semantic_error(const std::string &desc)
 
An exception which a parser may throw to indicate that it failed to understand the input...
 
parse_exception_no_such_component(const std::string &name, const std::string &meth)
 
parse_exception_no_such_component * copy() const 
 
parse_exception_illegal_identifier * copy() const 
 
syntactic_parse_exception()
 
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute. 
 
parse_exception_wrong_number_of_arguments * copy() const 
 
parse_exception_no_such_method_on_component(const std::string &componentname, const std::string &methodname)
 
fatal_syntactic_parse_exception()
 
const std::string & name()
 
const std::string & methodName() const 
 
A Fatal Semantic parse exception means the parser knows that the parsing failed dramatically and shou...