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

Exception thrown when a factory is requested to create an object, but a wrong argument type was given. More...

#include <rtt/FactoryExceptions.hpp>

Inheritance diagram for RTT::wrong_types_of_args_exception:

Public Member Functions

 wrong_types_of_args_exception (int w, const std::string &expected, const std::string &received)
 
 ~wrong_types_of_args_exception () throw ()
 
virtual const char * what () const throw ()
 

Public Attributes

int whicharg
 
std::string expected_
 
std::string received_
 
std::string whatstr
 

Detailed Description

Exception thrown when a factory is requested to create an object, but a wrong argument type was given.

Definition at line 97 of file FactoryExceptions.hpp.

Constructor & Destructor Documentation

RTT::wrong_types_of_args_exception::wrong_types_of_args_exception ( int  w,
const std::string &  expected,
const std::string &  received 
)

Definition at line 95 of file FactoryExceptions.cpp.

References expected_, received_, and whatstr.

RTT::wrong_types_of_args_exception::~wrong_types_of_args_exception ( )
throw (
)

Definition at line 106 of file FactoryExceptions.cpp.

Member Function Documentation

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

Definition at line 109 of file FactoryExceptions.cpp.

References whatstr.

Member Data Documentation

std::string RTT::wrong_types_of_args_exception::expected_
std::string RTT::wrong_types_of_args_exception::received_
std::string RTT::wrong_types_of_args_exception::whatstr

Definition at line 105 of file FactoryExceptions.hpp.

Referenced by what(), and wrong_types_of_args_exception().

int RTT::wrong_types_of_args_exception::whicharg

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