rclcpp  master
C++ ROS Client Library API
Public Member Functions | List of all members
rclcpp::exceptions::InvalidParameterTypeException Class Reference

Thrown if requested parameter type is invalid. More...

#include <exceptions.hpp>

Inheritance diagram for rclcpp::exceptions::InvalidParameterTypeException:
Inheritance graph
Collaboration diagram for rclcpp::exceptions::InvalidParameterTypeException:
Collaboration graph

Public Member Functions

 InvalidParameterTypeException (const std::string &name, const std::string message)
 Construct an instance. More...
- Public Member Functions inherited from std::runtime_error
runtime_error (T... args)
what (T... args)

Detailed Description

Thrown if requested parameter type is invalid.

Essentially the same as rclcpp::ParameterTypeException, but with parameter name in the error message.

Constructor & Destructor Documentation

◆ InvalidParameterTypeException()

rclcpp::exceptions::InvalidParameterTypeException::InvalidParameterTypeException ( const std::string name,
const std::string  message 

Construct an instance.

[in]namethe name of the parameter.
[in]messagecustom exception message.

The documentation for this class was generated from the following file: