|
Robot Raconteur Core C++ Library
|
Exception thrown when an attempt to send a message to an endpoint fails. More...
#include <Error.h>
Public Member Functions | |
| EndpointCommunicationFatalException (const std::string &message, std::string sub_name="", const boost::intrusive_ptr< RRValue > ¶m_=boost::intrusive_ptr< RRValue >()) | |
| Construct an EndpointCommunicationFatalException. | |
| virtual std::string | ToString () |
| Returns a string representing the exception. | |
Public Attributes | |
| MessageErrorType | ErrorCode |
| Predefined error code. | |
| std::string | Error |
| Name of the error. | |
| std::string | Message |
| Message to pass to the user. | |
| std::string | ErrorSubName |
| An optional sub_name to further categorize the exception. | |
| boost::intrusive_ptr< RRValue > | ErrorParam |
| An optional parameter. | |
Exception thrown when an attempt to send a message to an endpoint fails.
Transports between two nodes terminate with a pair of endpoints, one in each node. Messages are sent between endpoint pairs. If for some reason the endpoint cannot send (or receive) the message, this exception is thrown.
Error code MessageErrorType_EndpointCommunicationFatalError (6)
| RobotRaconteur::EndpointCommunicationFatalException::EndpointCommunicationFatalException | ( | const std::string & | message, |
| std::string | sub_name = "", | ||
| const boost::intrusive_ptr< RRValue > & | param_ = boost::intrusive_ptr< RRValue >() ) |
Construct an EndpointCommunicationFatalException.
| message | Message for the user |
| sub_name | Optional error sub_name |
| param_ | Optional error param |
|
virtualinherited |
Returns a string representing the exception.
|
inherited |
Name of the error.
Name corresponding to predefined error code, or a user defined error type
|
inherited |
Predefined error code.
Error code that specifies the type of error
|
inherited |
An optional parameter.
Use this placeholder if data needs to be passed with the exception
|
inherited |
An optional sub_name to further categorize the exception.
The sub_name should follow the Robot Raconteur naming rules. It should either be a single name or a fully qualified name using service definition naming rules
|
inherited |
Message to pass to the user.
Human readable message to pass to the user