Orocos Real-Time Toolkit  2.8.3
Public Member Functions | Public Attributes | List of all members
RTT::wrong_number_of_args_exception Struct Reference

Exception thrown when a factory is requested to create an object but the wrong number of arguments was given. More...

#include <rtt/FactoryExceptions.hpp>

Inheritance diagram for RTT::wrong_number_of_args_exception:

Public Member Functions

 wrong_number_of_args_exception (int w, int r)
 
 ~wrong_number_of_args_exception () throw ()
 
virtual const char * what () const throw ()
 

Public Attributes

int wanted
 
int received
 
std::string whatstr
 

Detailed Description

Exception thrown when a factory is requested to create an object but the wrong number of arguments was given.

Definition at line 82 of file FactoryExceptions.hpp.

Constructor & Destructor Documentation

RTT::wrong_number_of_args_exception::wrong_number_of_args_exception ( int  w,
int  r 
)

Definition at line 78 of file FactoryExceptions.cpp.

References whatstr.

RTT::wrong_number_of_args_exception::~wrong_number_of_args_exception ( )
throw (
)

Definition at line 89 of file FactoryExceptions.cpp.

Member Function Documentation

const char * RTT::wrong_number_of_args_exception::what ( ) const
throw (
)
virtual

Definition at line 91 of file FactoryExceptions.cpp.

References whatstr.

Member Data Documentation

int RTT::wrong_number_of_args_exception::received
int RTT::wrong_number_of_args_exception::wanted
std::string RTT::wrong_number_of_args_exception::whatstr

Definition at line 87 of file FactoryExceptions.hpp.

Referenced by what(), and wrong_number_of_args_exception().


The documentation for this struct was generated from the following files: