|
Robot Raconteur Core C++ Library
|
Exception thrown when a service definition verification failure occurs. More...
#include <ServiceDefinition.h>
Public Member Functions | |
| ServiceDefinitionVerifyException (const std::string &e) | |
| Construct a new ServiceDefinitionVerifyException. | |
| ServiceDefinitionVerifyException (const std::string &e, const ServiceDefinitionParseInfo &info) | |
| Construct a new ServiceDefinitionVerifyException. | |
| virtual std::string | ToString () const |
| Convert exception to string. | |
| virtual std::string | ToString () |
| Returns a string representing the exception. | |
Public Attributes | |
| ServiceDefinitionParseInfo | ParseInfo |
| Parsing diagnostic information. | |
| std::string | ShortMessage |
| Short description of the error. | |
| 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 a service definition verification failure occurs.
Extends ServiceDefinitionException. When used with messages, has error code MessageErrorType_ServiceDefinitionError (28)
| RobotRaconteur::ServiceDefinitionVerifyException::ServiceDefinitionVerifyException | ( | const std::string & | e | ) |
Construct a new ServiceDefinitionVerifyException.
| e | The short message |
| RobotRaconteur::ServiceDefinitionVerifyException::ServiceDefinitionVerifyException | ( | const std::string & | e, |
| const ServiceDefinitionParseInfo & | info ) |
Construct a new ServiceDefinitionVerifyException.
| e | The short message |
| info | Parsing diagnostic information |
|
virtualinherited |
Returns a string representing the exception.
|
virtual |
Convert exception to string.
Returns a diagnostic message containing the service name, line number, and short message.
|
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
| std::string RobotRaconteur::ServiceDefinitionVerifyException::ShortMessage |
Short description of the error.
Do not include line number, file name, line number, or line text in ShortMessage. This information is stored in the ParseInfo field.