30namespace RobotRaconteur
33class ROBOTRACONTEUR_CORE_API
RRValue;
37RR_GCC_DISABLE_WARNING(
"-Woverloaded-virtual")
73 const std::string& sub_name,
const RR_INTRUSIVE_PTR<RRValue>& param);
132 RR_OVIRTUAL
const char* what()
const throw() RR_OVERRIDE;
137 std::string what_string;
140RR_GCC_ENABLE_WARNING()
143#define RR_EXCEPTION_TYPES_INIT(M,M2) \
144 M(ConnectionException, MessageErrorType_ConnectionError, "RobotRaconteur.ConnectionError") \
145 M(ProtocolException, MessageErrorType_ProtocolError, "RobotRaconteur.ProtocolError") \
146 M(ServiceNotFoundException, MessageErrorType_ServiceNotFound, "RobotRaconteur.ServiceNotFound") \
147 M(ObjectNotFoundException, MessageErrorType_ObjectNotFound, "RobotRaconteur.ObjectNotFound") \
148 M(InvalidEndpointException, MessageErrorType_InvalidEndpoint, "RobotRaconteur.InvalidEndpoint") \
149 M(EndpointCommunicationFatalException, MessageErrorType_EndpointCommunicationFatalError, "RobotRaconteur.EndpointCommunicationFatalError") \
150 M(NodeNotFoundException, MessageErrorType_NodeNotFound, "RobotRaconteur.NodeNotFound") \
151 M(ServiceException, MessageErrorType_ServiceError, "RobotRaconteur.ServiceError") \
152 M(MemberNotFoundException, MessageErrorType_MemberNotFound, "RobotRaconteur.MemberNotFound") \
153 M(MemberFormatMismatchException, MessageErrorType_MemberFormatMismatch, "RobotRaconteur.MemberFormatMismatch") \
154 M(DataTypeMismatchException, MessageErrorType_DataTypeMismatch, "RobotRaconteur.DataTypeMismatch") \
155 M(DataTypeException, MessageErrorType_DataTypeError, "RobotRaconteur.DataTypeError") \
156 M(DataSerializationException, MessageErrorType_DataSerializationError, "RobotRaconteur.DataSerializationError") \
157 M(MessageEntryNotFoundException, MessageErrorType_MessageEntryNotFound, "RobotRaconteur.MessageEntryNotFound") \
158 M(MessageElementNotFoundException, MessageErrorType_MessageElementNotFound, "RobotRaconteur.MessageElementNotFound") \
159 M2(UnknownException, MessageErrorType_UnknownError) \
160 M(InvalidOperationException, MessageErrorType_InvalidOperation, "RobotRaconteur.InvalidOperation") \
161 M(InvalidArgumentException, MessageErrorType_InvalidArgument, "RobotRaconteur.InvalidArgument") \
162 M(OperationFailedException, MessageErrorType_OperationFailed, "RobotRaconteur.OperationFailed") \
163 M(NullValueException, MessageErrorType_NullValue, "RobotRaconteur.NullValue") \
164 M(InternalErrorException, MessageErrorType_InternalError, "RobotRaconteur.InternalError") \
165 M(SystemResourcePermissionDeniedException, MessageErrorType_SystemResourcePermissionDenied, "RobotRaconteur.SystemResourcePermissionDenied") \
166 M(OutOfSystemResourceException, MessageErrorType_OutOfSystemResource, "RobotRaconteur.OutOfSystemResource") \
167 M(SystemResourceException, MessageErrorType_SystemResourceError, "RobotRaconteur.SystemResourceError") \
168 M(ResourceNotFoundException, MessageErrorType_ResourceNotFound, "RobotRaconteur.ResourceNotFound") \
169 M(IOException, MessageErrorType_IOError, "RobotRaconteur.IOError") \
170 M(BufferLimitViolationException, MessageErrorType_BufferLimitViolation, "RobotRaconteur.BufferLimitViolation") \
171 M(ServiceDefinitionException, MessageErrorType_ServiceDefinitionError, "RobotRaconteur.ServiceDefinitionError") \
172 M(OutOfRangeException, MessageErrorType_OutOfRange, "RobotRaconteur.OutOfRange") \
173 M(KeyNotFoundException, MessageErrorType_KeyNotFound, "RobotRaconteur.KeyNotFound") \
174 M(InvalidConfigurationException, MessageErrorType_InvalidConfiguration, "RobotRaconteur.InvalidConfiguration") \
175 M(InvalidStateException, MessageErrorType_InvalidState, "RobotRaconteur.InvalidState") \
176 M2(RobotRaconteurRemoteException, MessageErrorType_RemoteError) \
177 M(RequestTimeoutException, MessageErrorType_RequestTimeout, "RobotRaconteur.RequestTimeout") \
178 M(ReadOnlyMemberException, MessageErrorType_ReadOnlyMember, "RobotRaconteur.ReadOnlyMember") \
179 M(WriteOnlyMemberException, MessageErrorType_WriteOnlyMember, "RobotRaconteur.WriteOnlyMember") \
180 M(NotImplementedException, MessageErrorType_NotImplementedError, "RobotRaconteur.NotImplementedError") \
181 M(MemberBusyException, MessageErrorType_MemberBusy, "RobotRaconteur.MemberBusy") \
182 M(ValueNotSetException, MessageErrorType_ValueNotSet, "RobotRaconteur.ValueNotSet") \
183 M(AuthenticationException, MessageErrorType_AuthenticationError, "RobotRaconteur.AuthenticationError") \
184 M(ObjectLockedException, MessageErrorType_ObjectLockedError, "RobotRaconteur.ObjectLockedError") \
185 M(PermissionDeniedException, MessageErrorType_PermissionDenied, "RobotRaconteur.PermissionDenied") \
186 M(AbortOperationException, MessageErrorType_AbortOperation, "RobotRaconteur.AbortOperation") \
187 M(OperationAbortedException, MessageErrorType_OperationAborted, "RobotRaconteur.OperationAborted") \
188 M(StopIterationException, MessageErrorType_StopIteration, "RobotRaconteur.StopIteration") \
189 M(OperationTimeoutException, MessageErrorType_OperationTimeout, "RobotRaconteur.OperationTimeout") \
190 M(OperationCancelledException, MessageErrorType_OperationCancelled, "RobotRaconteur.OperationCancelled")
193#define RR_EXCEPTION_DECL_1(exp_cpp_type, exp_code, exp_type_str) \
194 class ROBOTRACONTEUR_CORE_API exp_cpp_type : public RobotRaconteurException \
197 exp_cpp_type(const std::string& message, const std::string& sub_name = "", \
198 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>()); \
201#define RR_EXCEPTION_DECL_2(exp_cpp_type, exp_code) \
202 class ROBOTRACONTEUR_CORE_API exp_cpp_type : public RobotRaconteurException \
205 exp_cpp_type(const std::string& error, const std::string& message, const std::string& sub_name = "", \
206 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>()); \
207 exp_cpp_type(std::exception& innerexception); \
210RR_EXCEPTION_TYPES_INIT(RR_EXCEPTION_DECL_1, RR_EXCEPTION_DECL_2)
212#undef RR_EXCEPTION_DECL_1
213#undef RR_EXCEPTION_DECL_2
215#ifdef GENERATING_DOCUMENTATION
236 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>());
257 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>());
278 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>());
304 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>());
332 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>());
359 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>());
383 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>());
407 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>());
432 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>());
454 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>());
477 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>());
503 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>());
529 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>());
550 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>());
574 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>());
598 UnknownException(
const std::string& error,
const std::string& message, std::string sub_name =
"",
599 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>());
619 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>());
639 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>());
659 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>());
679 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>());
699 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>());
719 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>());
739 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>());
759 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>());
779 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>());
799 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>());
818 IOException(
const std::string& message, std::string sub_name =
"",
819 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>());
843 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>());
864 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>());
885 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>());
906 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>());
927 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>());
948 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>());
976 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>());
1009 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>());
1029 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>());
1049 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>());
1069 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>());
1089 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>());
1113 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>());
1134 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>());
1159 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>());
1181 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>());
1209 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>());
1234 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>());
1255 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>());
1276 const RR_INTRUSIVE_PTR<RRValue>& param_ = RR_INTRUSIVE_PTR<RRValue>());
1279#ifndef ROBOTRACONTEUR_NO_CXX11_TEMPLATE_ALIASES
1472#ifndef ROBOTRACONTEUR_NO_CXX11_TEMPLATE_ALIASES
1478#define RR_EXCEPTION_DECL_1_PTR(exp_cpp_type, exp_code, exp_type_str) \
1479 using exp_cpp_type##Ptr = RR_SHARED_PTR<exp_cpp_type>; \
1480 using exp_cpp_type##ConstPtr = RR_SHARED_PTR<const exp_cpp_type>;
1482#define RR_EXCEPTION_DECL_2_PTR(exp_cpp_type, exp_code) \
1483 using exp_cpp_type##Ptr = RR_SHARED_PTR<exp_cpp_type>; \
1484 using exp_cpp_type##ConstPtr = RR_SHARED_PTR<const exp_cpp_type>;
1486RR_EXCEPTION_TYPES_INIT(RR_EXCEPTION_DECL_1_PTR, RR_EXCEPTION_DECL_2_PTR)
1488#undef RR_EXCEPTION_DECL_1_PTR
1489#undef RR_EXCEPTION_DECL_2_PTR
boost::shared_ptr< const InvalidArgumentException >() InvalidArgumentExceptionConstPtr
Convenience alias for InvalidArgumentException const shared_ptr.
Definition Error.h:1351
boost::shared_ptr< NodeNotFoundException >() NodeNotFoundExceptionPtr
Convenience alias for NodeNotFoundException shared_ptr.
Definition Error.h:1305
boost::shared_ptr< AbortOperationException >() AbortOperationExceptionPtr
Convenience alias for AbortOperationException shared_ptr.
Definition Error.h:1449
boost::shared_ptr< OperationCancelledException >() OperationCancelledExceptionPtr
Convenience alias for OperationCancelledException shared_ptr.
Definition Error.h:1465
boost::shared_ptr< DataTypeMismatchException >() DataTypeMismatchExceptionPtr
Convenience alias for DataTypeMismatchException shared_ptr.
Definition Error.h:1321
boost::shared_ptr< const NullValueException >() NullValueExceptionConstPtr
Convenience alias for NullValueException const shared_ptr.
Definition Error.h:1359
boost::shared_ptr< UnknownException >() UnknownExceptionPtr
Convenience alias for UnknownException shared_ptr.
Definition Error.h:1341
boost::shared_ptr< const RequestTimeoutException >() RequestTimeoutExceptionConstPtr
Convenience alias for RequestTimeoutException const shared_ptr.
Definition Error.h:1415
boost::shared_ptr< const WriteOnlyMemberException >() WriteOnlyMemberExceptionConstPtr
Convenience alias for WriteOnlyMemberException const shared_ptr.
Definition Error.h:1423
boost::shared_ptr< PermissionDeniedException >() PermissionDeniedExceptionPtr
Convenience alias for PermissionDeniedException shared_ptr.
Definition Error.h:1445
boost::shared_ptr< const OutOfRangeException >() OutOfRangeExceptionConstPtr
Convenience alias for OutOfRangeException const shared_ptr.
Definition Error.h:1395
boost::shared_ptr< const DataSerializationException >() DataSerializationExceptionConstPtr
Convenience alias for DataSerializationException const shared_ptr.
Definition Error.h:1331
boost::shared_ptr< OutOfSystemResourceException >() OutOfSystemResourceExceptionPtr
Convenience alias for OutOfSystemResourceException shared_ptr.
Definition Error.h:1369
boost::shared_ptr< const AbortOperationException >() AbortOperationExceptionConstPtr
Convenience alias for AbortOperationException const shared_ptr.
Definition Error.h:1451
boost::shared_ptr< SystemResourceException >() SystemResourceExceptionPtr
Convenience alias for SystemResourceException shared_ptr.
Definition Error.h:1373
boost::shared_ptr< ConnectionException >() ConnectionExceptionPtr
Convenience alias for ConnectionException shared_ptr.
Definition Error.h:1281
boost::shared_ptr< MemberBusyException >() MemberBusyExceptionPtr
Convenience alias for MemberBusyException shared_ptr.
Definition Error.h:1429
boost::shared_ptr< OperationAbortedException >() OperationAbortedExceptionPtr
Convenience alias for OperationAbortedException shared_ptr.
Definition Error.h:1453
boost::shared_ptr< const ValueNotSetException >() ValueNotSetExceptionConstPtr
Convenience alias for ValueNotSetException const shared_ptr.
Definition Error.h:1435
boost::shared_ptr< const RobotRaconteurException > RobotRaconteurExceptionConstPtr
Convenience alias for RobotRaconteurException const shared_ptr.
Definition Error.h:1476
boost::shared_ptr< const OperationCancelledException >() OperationCancelledExceptionConstPtr
Convenience alias for OperationCancelledException const shared_ptr.
Definition Error.h:1467
boost::shared_ptr< MemberNotFoundException >() MemberNotFoundExceptionPtr
Convenience alias for MemberNotFoundException shared_ptr.
Definition Error.h:1313
boost::shared_ptr< const ProtocolException >() ProtocolExceptionConstPtr
Convenience alias for ProtocolException const shared_ptr.
Definition Error.h:1287
boost::shared_ptr< const StopIterationException >() StopIterationExceptionConstPtr
Convenience alias for StopIterationException const shared_ptr.
Definition Error.h:1459
boost::shared_ptr< const MessageEntryNotFoundException >() MessageEntryNotFoundExceptionConstPtr
Convenience alias for MessageEntryNotFoundException const shared_ptr.
Definition Error.h:1335
boost::shared_ptr< const ConnectionException >() ConnectionExceptionConstPtr
Convenience alias for ConnectionException const shared_ptr.
Definition Error.h:1283
boost::shared_ptr< OutOfRangeException >() OutOfRangeExceptionPtr
Convenience alias for OutOfRangeException shared_ptr.
Definition Error.h:1393
boost::shared_ptr< ProtocolException >() ProtocolExceptionPtr
Convenience alias for ProtocolException shared_ptr.
Definition Error.h:1285
boost::shared_ptr< const ServiceException >() ServiceExceptionConstPtr
Convenience alias for ServiceException const shared_ptr.
Definition Error.h:1311
boost::shared_ptr< IOException >() IOExceptionPtr
Convenience alias for IOException shared_ptr.
Definition Error.h:1381
boost::shared_ptr< const InvalidStateException >() InvalidStateExceptionConstPtr
Convenience alias for InvalidStateException const shared_ptr.
Definition Error.h:1407
boost::shared_ptr< const DataTypeException >() DataTypeExceptionConstPtr
Convenience alias for DataTypeException const shared_ptr.
Definition Error.h:1327
boost::shared_ptr< const ReadOnlyMemberException >() ReadOnlyMemberExceptionConstPtr
Convenience alias for ReadOnlyMemberException const shared_ptr.
Definition Error.h:1419
boost::shared_ptr< const ObjectLockedException >() ObjectLockedExceptionConstPtr
Convenience alias for ObjectLockedException const shared_ptr.
Definition Error.h:1443
boost::shared_ptr< WriteOnlyMemberException >() WriteOnlyMemberExceptionPtr
Convenience alias for WriteOnlyMemberException shared_ptr.
Definition Error.h:1421
boost::shared_ptr< const UnknownException >() UnknownExceptionConstPtr
Convenience alias for UnknownException const shared_ptr.
Definition Error.h:1343
boost::shared_ptr< MessageElementNotFoundException >() MessageElementNotFoundExceptionPtr
Convenience alias for MessageElementNotFoundException shared_ptr.
Definition Error.h:1337
boost::shared_ptr< InvalidEndpointException >() InvalidEndpointExceptionPtr
Convenience alias for InvalidEndpointException shared_ptr.
Definition Error.h:1297
boost::shared_ptr< const ResourceNotFoundException >() ResourceNotFoundExceptionConstPtr
Convenience alias for ResourceNotFoundException const shared_ptr.
Definition Error.h:1379
boost::shared_ptr< RequestTimeoutException >() RequestTimeoutExceptionPtr
Convenience alias for RequestTimeoutException shared_ptr.
Definition Error.h:1413
boost::shared_ptr< DataSerializationException >() DataSerializationExceptionPtr
Convenience alias for DataSerializationException shared_ptr.
Definition Error.h:1329
boost::shared_ptr< const BufferLimitViolationException >() BufferLimitViolationExceptionConstPtr
Convenience alias for BufferLimitViolationException const shared_ptr.
Definition Error.h:1387
boost::shared_ptr< const OutOfSystemResourceException >() OutOfSystemResourceExceptionConstPtr
Convenience alias for OutOfSystemResourceException const shared_ptr.
Definition Error.h:1371
boost::shared_ptr< const DataTypeMismatchException >() DataTypeMismatchExceptionConstPtr
Convenience alias for DataTypeMismatchException const shared_ptr.
Definition Error.h:1323
boost::shared_ptr< const KeyNotFoundException >() KeyNotFoundExceptionConstPtr
Convenience alias for KeyNotFoundException const shared_ptr.
Definition Error.h:1399
boost::shared_ptr< ServiceDefinitionException >() ServiceDefinitionExceptionPtr
Convenience alias for ServiceDefinitionException shared_ptr.
Definition Error.h:1389
boost::shared_ptr< RobotRaconteurException > RobotRaconteurExceptionPtr
Convenience alias for RobotRaconteurException shared_ptr.
Definition Error.h:1474
boost::shared_ptr< StopIterationException >() StopIterationExceptionPtr
Convenience alias for StopIterationException shared_ptr.
Definition Error.h:1457
boost::shared_ptr< const NotImplementedException >() NotImplementedExceptionConstPtr
Convenience alias for NotImplementedException const shared_ptr.
Definition Error.h:1427
boost::shared_ptr< InvalidStateException >() InvalidStateExceptionPtr
Convenience alias for InvalidStateException shared_ptr.
Definition Error.h:1405
boost::shared_ptr< const SystemResourceException >() SystemResourceExceptionConstPtr
Convenience alias for SystemResourceException const shared_ptr.
Definition Error.h:1375
boost::shared_ptr< const IOException >() IOExceptionConstPtr
Convenience alias for IOException const shared_ptr.
Definition Error.h:1383
boost::shared_ptr< KeyNotFoundException >() KeyNotFoundExceptionPtr
Convenience alias for KeyNotFoundException shared_ptr.
Definition Error.h:1397
boost::shared_ptr< MessageEntryNotFoundException >() MessageEntryNotFoundExceptionPtr
Convenience alias for MessageEntryNotFoundException shared_ptr.
Definition Error.h:1333
boost::shared_ptr< InvalidArgumentException >() InvalidArgumentExceptionPtr
Convenience alias for InvalidArgumentException shared_ptr.
Definition Error.h:1349
boost::shared_ptr< OperationFailedException >() OperationFailedExceptionPtr
Convenience alias for OperationFailedException shared_ptr.
Definition Error.h:1353
boost::shared_ptr< const ObjectNotFoundException >() ObjectNotFoundExceptionConstPtr
Convenience alias for ObjectNotFoundException const shared_ptr.
Definition Error.h:1295
boost::shared_ptr< ResourceNotFoundException >() ResourceNotFoundExceptionPtr
Convenience alias for ResourceNotFoundException shared_ptr.
Definition Error.h:1377
boost::shared_ptr< RobotRaconteurRemoteException >() RobotRaconteurRemoteExceptionPtr
Convenience alias for RobotRaconteurRemoteException shared_ptr.
Definition Error.h:1409
boost::shared_ptr< const ServiceNotFoundException >() ServiceNotFoundExceptionConstPtr
Convenience alias for ServiceNotFoundException const shared_ptr.
Definition Error.h:1291
boost::shared_ptr< ServiceException >() ServiceExceptionPtr
Convenience alias for ServiceException shared_ptr.
Definition Error.h:1309
boost::shared_ptr< const OperationTimeoutException >() OperationTimeoutExceptionConstPtr
Convenience alias for OperationTimeoutException const shared_ptr.
Definition Error.h:1463
boost::shared_ptr< const MemberBusyException >() MemberBusyExceptionConstPtr
Convenience alias for MemberBusyException const shared_ptr.
Definition Error.h:1431
boost::shared_ptr< const OperationAbortedException >() OperationAbortedExceptionConstPtr
Convenience alias for OperationAbortedException const shared_ptr.
Definition Error.h:1455
boost::shared_ptr< NotImplementedException >() NotImplementedExceptionPtr
Convenience alias for NotImplementedException shared_ptr.
Definition Error.h:1425
boost::shared_ptr< ObjectLockedException >() ObjectLockedExceptionPtr
Convenience alias for ObjectLockedException shared_ptr.
Definition Error.h:1441
boost::shared_ptr< ReadOnlyMemberException >() ReadOnlyMemberExceptionPtr
Convenience alias for ReadOnlyMemberException shared_ptr.
Definition Error.h:1417
boost::shared_ptr< EndpointCommunicationFatalException >() EndpointCommunicationFatalExceptionPtr
Convenience alias for EndpointCommunicationFatalException shared_ptr.
Definition Error.h:1301
boost::shared_ptr< const SystemResourcePermissionDeniedException >() SystemResourcePermissionDeniedExceptionConstPtr
Convenience alias for SystemResourcePermissionDeniedException const shared_ptr.
Definition Error.h:1367
boost::shared_ptr< const InvalidConfigurationException >() InvalidConfigurationExceptionConstPtr
Convenience alias for InvalidConfigurationException const shared_ptr.
Definition Error.h:1403
boost::shared_ptr< const EndpointCommunicationFatalException >() EndpointCommunicationFatalExceptionConstPtr
Convenience alias for EndpointCommunicationFatalException const shared_ptr.
Definition Error.h:1303
boost::shared_ptr< OperationTimeoutException >() OperationTimeoutExceptionPtr
Convenience alias for OperationTimeoutException shared_ptr.
Definition Error.h:1461
boost::shared_ptr< const MemberNotFoundException >() MemberNotFoundExceptionConstPtr
Convenience alias for MemberNotFoundException const shared_ptr.
Definition Error.h:1315
boost::shared_ptr< AuthenticationException >() AuthenticationExceptionPtr
Convenience alias for AuthenticationException shared_ptr.
Definition Error.h:1437
boost::shared_ptr< SystemResourcePermissionDeniedException >() SystemResourcePermissionDeniedExceptionPtr
Convenience alias for SystemResourcePermissionDeniedException shared_ptr.
Definition Error.h:1365
boost::shared_ptr< DataTypeException >() DataTypeExceptionPtr
Convenience alias for DataTypeException shared_ptr.
Definition Error.h:1325
boost::shared_ptr< const InternalErrorException >() InternalErrorExceptionConstPtr
Convenience alias for InternalErrorException const shared_ptr.
Definition Error.h:1363
boost::shared_ptr< InvalidOperationException >() InvalidOperationExceptionPtr
Convenience alias for InvalidOperationException shared_ptr.
Definition Error.h:1345
boost::shared_ptr< InvalidConfigurationException >() InvalidConfigurationExceptionPtr
Convenience alias for InvalidConfigurationException shared_ptr.
Definition Error.h:1401
boost::shared_ptr< ServiceNotFoundException >() ServiceNotFoundExceptionPtr
Convenience alias for ServiceNotFoundException shared_ptr.
Definition Error.h:1289
boost::shared_ptr< const OperationFailedException >() OperationFailedExceptionConstPtr
Convenience alias for OperationFailedException const shared_ptr.
Definition Error.h:1355
boost::shared_ptr< BufferLimitViolationException >() BufferLimitViolationExceptionPtr
Convenience alias for BufferLimitViolationException shared_ptr.
Definition Error.h:1385
boost::shared_ptr< const MessageElementNotFoundException >() MessageElementNotFoundExceptionConstPtr
Convenience alias for MessageElementNotFoundException const shared_ptr.
Definition Error.h:1339
boost::shared_ptr< ValueNotSetException >() ValueNotSetExceptionPtr
Convenience alias for ValueNotSetException shared_ptr.
Definition Error.h:1433
boost::shared_ptr< const NodeNotFoundException >() NodeNotFoundExceptionConstPtr
Convenience alias for NodeNotFoundException const shared_ptr.
Definition Error.h:1307
boost::shared_ptr< const MemberFormatMismatchException >() MemberFormatMismatchExceptionConstPtr
Convenience alias for MemberFormatMismatchException const shared_ptr.
Definition Error.h:1319
boost::shared_ptr< NullValueException >() NullValueExceptionPtr
Convenience alias for NullValueException shared_ptr.
Definition Error.h:1357
boost::shared_ptr< MemberFormatMismatchException >() MemberFormatMismatchExceptionPtr
Convenience alias for MemberFormatMismatchException shared_ptr.
Definition Error.h:1317
boost::shared_ptr< const RobotRaconteurRemoteException >() RobotRaconteurRemoteExceptionConstPtr
Convenience alias for RobotRaconteurRemoteException const shared_ptr.
Definition Error.h:1411
boost::shared_ptr< const ServiceDefinitionException >() ServiceDefinitionExceptionConstPtr
Convenience alias for ServiceDefinitionException const shared_ptr.
Definition Error.h:1391
boost::shared_ptr< const PermissionDeniedException >() PermissionDeniedExceptionConstPtr
Convenience alias for PermissionDeniedException const shared_ptr.
Definition Error.h:1447
boost::shared_ptr< const AuthenticationException >() AuthenticationExceptionConstPtr
Convenience alias for AuthenticationException const shared_ptr.
Definition Error.h:1439
boost::shared_ptr< InternalErrorException >() InternalErrorExceptionPtr
Convenience alias for InternalErrorException shared_ptr.
Definition Error.h:1361
boost::shared_ptr< const InvalidEndpointException >() InvalidEndpointExceptionConstPtr
Convenience alias for InvalidEndpointException const shared_ptr.
Definition Error.h:1299
boost::shared_ptr< ObjectNotFoundException >() ObjectNotFoundExceptionPtr
Convenience alias for ObjectNotFoundException shared_ptr.
Definition Error.h:1293
boost::shared_ptr< const InvalidOperationException >() InvalidOperationExceptionConstPtr
Convenience alias for InvalidOperationException const shared_ptr.
Definition Error.h:1347
MessageErrorType
Message error type codes enum.
Definition RobotRaconteurConstants.h:396
AbortOperationException(const std::string &message, std::string sub_name="", const boost::intrusive_ptr< RRValue > ¶m_=boost::intrusive_ptr< RRValue >())
Construct an AbortOperationException.
AuthenticationException(const std::string &message, std::string sub_name="", const boost::intrusive_ptr< RRValue > ¶m_=boost::intrusive_ptr< RRValue >())
Construct an AuthenticationException.
BufferLimitViolationException(const std::string &message, std::string sub_name="", const boost::intrusive_ptr< RRValue > ¶m_=boost::intrusive_ptr< RRValue >())
Construct a BufferLimitViolationException.
ConnectionException(const std::string &message, std::string sub_name="", const boost::intrusive_ptr< RRValue > ¶m_=boost::intrusive_ptr< RRValue >())
Construct a ConnectionException.
DataSerializationException(const std::string &message, std::string sub_name="", const boost::intrusive_ptr< RRValue > ¶m_=boost::intrusive_ptr< RRValue >())
Construct a DataSerializationException.
DataTypeException(const std::string &message, std::string sub_name="", const boost::intrusive_ptr< RRValue > ¶m_=boost::intrusive_ptr< RRValue >())
Construct a DataTypeException.
DataTypeMismatchException(const std::string &message, std::string sub_name="", const boost::intrusive_ptr< RRValue > ¶m_=boost::intrusive_ptr< RRValue >())
Construct a DataTypeMismatchException.
EndpointCommunicationFatalException(const std::string &message, std::string sub_name="", const boost::intrusive_ptr< RRValue > ¶m_=boost::intrusive_ptr< RRValue >())
Construct an EndpointCommunicationFatalException.
IOException(const std::string &message, std::string sub_name="", const boost::intrusive_ptr< RRValue > ¶m_=boost::intrusive_ptr< RRValue >())
Construct an IOException.
InternalErrorException(const std::string &message, std::string sub_name="", const boost::intrusive_ptr< RRValue > ¶m_=boost::intrusive_ptr< RRValue >())
Construct an InternalErrorException.
InvalidArgumentException(const std::string &message, std::string sub_name="", const boost::intrusive_ptr< RRValue > ¶m_=boost::intrusive_ptr< RRValue >())
Construct an InvalidArgumentException.
InvalidConfigurationException(const std::string &message, std::string sub_name="", const boost::intrusive_ptr< RRValue > ¶m_=boost::intrusive_ptr< RRValue >())
Construct an InvalidConfiguration exception.
InvalidEndpointException(const std::string &message, std::string sub_name="", const boost::intrusive_ptr< RRValue > ¶m_=boost::intrusive_ptr< RRValue >())
Construct an InvalidEndpointException.
InvalidOperationException(const std::string &message, std::string sub_name="", const boost::intrusive_ptr< RRValue > ¶m_=boost::intrusive_ptr< RRValue >())
Construct an InvalidOperationException.
InvalidStateException(const std::string &message, std::string sub_name="", const boost::intrusive_ptr< RRValue > ¶m_=boost::intrusive_ptr< RRValue >())
Construct an InvalidState exception.
KeyNotFoundException(const std::string &message, std::string sub_name="", const boost::intrusive_ptr< RRValue > ¶m_=boost::intrusive_ptr< RRValue >())
Construct a KeyNotFound exception.
MemberBusyException(const std::string &message, std::string sub_name="", const boost::intrusive_ptr< RRValue > ¶m_=boost::intrusive_ptr< RRValue >())
Construct a MemberBusyException.
MemberNotFoundException(const std::string &message, std::string sub_name="", const boost::intrusive_ptr< RRValue > ¶m_=boost::intrusive_ptr< RRValue >())
Construct a MemberNotFoundException.
MessageElementNotFoundException(const std::string &message, std::string sub_name="", const boost::intrusive_ptr< RRValue > ¶m_=boost::intrusive_ptr< RRValue >())
Construct a MessageElementNotFoundException.
MessageEntryNotFoundException(const std::string &message, std::string sub_name="", const boost::intrusive_ptr< RRValue > ¶m_=boost::intrusive_ptr< RRValue >())
Construct a MessageEntryNotFoundException.
NodeNotFoundException(const std::string &message, std::string sub_name="", const boost::intrusive_ptr< RRValue > ¶m_=boost::intrusive_ptr< RRValue >())
Construct a NodeNotFoundException.
NotImplementedException(const std::string &message, std::string sub_name="", const boost::intrusive_ptr< RRValue > ¶m_=boost::intrusive_ptr< RRValue >())
Construct a NotImplementedException.
NullValueException(const std::string &message, std::string sub_name="", const boost::intrusive_ptr< RRValue > ¶m_=boost::intrusive_ptr< RRValue >())
Construct a NullValueException.
ObjectLockedException(const std::string &message, std::string sub_name="", const boost::intrusive_ptr< RRValue > ¶m_=boost::intrusive_ptr< RRValue >())
Construct an ObjectLockedException.
ObjectNotFoundException(const std::string &message, std::string sub_name="", const boost::intrusive_ptr< RRValue > ¶m_=boost::intrusive_ptr< RRValue >())
Construct an ObjectNotFoundException.
OperationAbortedException(const std::string &message, std::string sub_name="", const boost::intrusive_ptr< RRValue > ¶m_=boost::intrusive_ptr< RRValue >())
Construct a OperationAbortedException.
OperationCancelledException(const std::string &message, std::string sub_name="", const boost::intrusive_ptr< RRValue > ¶m_=boost::intrusive_ptr< RRValue >())
Construct an OperationCancelledException.
OperationFailedException(const std::string &message, std::string sub_name="", const boost::intrusive_ptr< RRValue > ¶m_=boost::intrusive_ptr< RRValue >())
Construct an OperationFailedException.
OperationTimeoutException(const std::string &message, std::string sub_name="", const boost::intrusive_ptr< RRValue > ¶m_=boost::intrusive_ptr< RRValue >())
Construct an OperationTimeoutException.
OutOfRangeException(const std::string &message, std::string sub_name="", const boost::intrusive_ptr< RRValue > ¶m_=boost::intrusive_ptr< RRValue >())
Construct an OutOfRangeException.
OutOfSystemResourceException(const std::string &message, std::string sub_name="", const boost::intrusive_ptr< RRValue > ¶m_=boost::intrusive_ptr< RRValue >())
Construct an OutOfSystemResourceException.
PermissionDeniedException(const std::string &message, std::string sub_name="", const boost::intrusive_ptr< RRValue > ¶m_=boost::intrusive_ptr< RRValue >())
Construct a PermissionDeniedException.
ProtocolException(const std::string &message, std::string sub_name="", const boost::intrusive_ptr< RRValue > ¶m_=boost::intrusive_ptr< RRValue >())
Construct a ProtocolException.
Base class for all Robot Raconteur value types (except primitives).
Definition DataTypes.h:252
ReadOnlyMemberException(const std::string &message, std::string sub_name="", const boost::intrusive_ptr< RRValue > ¶m_=boost::intrusive_ptr< RRValue >())
Construct a ReadOnlyMemberException.
RequestTimeoutException(const std::string &message, std::string sub_name="", const boost::intrusive_ptr< RRValue > ¶m_=boost::intrusive_ptr< RRValue >())
Construct a RequestTimeoutException.
ResourceNotFoundException(const std::string &message, std::string sub_name="", const boost::intrusive_ptr< RRValue > ¶m_=boost::intrusive_ptr< RRValue >())
Construct a ResourceNotFoundException.
std::string Error
Name of the error.
Definition Error.h:99
RobotRaconteurException()
Construct an empty RobtoRaconteurException().
std::string Message
Message to pass to the user.
Definition Error.h:106
RobotRaconteurException(const std::string &message, std::exception &innerexception)
Construct a RobotRaconteurException based on an existing exception.
std::string ErrorSubName
An optional sub_name to further categorize the exception.
Definition Error.h:116
MessageErrorType ErrorCode
Predefined error code.
Definition Error.h:91
RobotRaconteurException(MessageErrorType ErrorCode, const std::string &error, const std::string &message, const std::string &sub_name, const boost::intrusive_ptr< RRValue > ¶m)
Construct a RobotRaconteurException.
boost::intrusive_ptr< RRValue > ErrorParam
An optional parameter.
Definition Error.h:123
virtual std::string ToString()
Returns a string representing the exception.
RobotRaconteurRemoteException(const std::string &error, const std::string &message, std::string sub_name="", const boost::intrusive_ptr< RRValue > ¶m_=boost::intrusive_ptr< RRValue >())
Construct a RobotRaconteurRemoteException.
RobotRaconteurRemoteException(std::exception &innerexception)
Construct a RobotRaconteurRemoteException from an existing exception.
ServiceDefinitionException(const std::string &message, std::string sub_name="", const boost::intrusive_ptr< RRValue > ¶m_=boost::intrusive_ptr< RRValue >())
Construct a new ServiceDefinitionException.
ServiceException(const std::string &message, std::string sub_name="", const boost::intrusive_ptr< RRValue > ¶m_=boost::intrusive_ptr< RRValue >())
Construct a ServiceException.
ServiceNotFoundException(const std::string &message, std::string sub_name="", const boost::intrusive_ptr< RRValue > ¶m_=boost::intrusive_ptr< RRValue >())
Construct a ServiceNotFoundException.
StopIterationException(const std::string &message, std::string sub_name="", const boost::intrusive_ptr< RRValue > ¶m_=boost::intrusive_ptr< RRValue >())
Construct a StopIterationException.
SystemResourceException(const std::string &message, std::string sub_name="", const boost::intrusive_ptr< RRValue > ¶m_=boost::intrusive_ptr< RRValue >())
Construct a SystemResourceException.
SystemResourcePermissionDeniedException(const std::string &message, std::string sub_name="", const boost::intrusive_ptr< RRValue > ¶m_=boost::intrusive_ptr< RRValue >())
Construct a SystemResourcePermissionDeniedException.
UnknownException(const std::string &error, const std::string &message, std::string sub_name="", const boost::intrusive_ptr< RRValue > ¶m_=boost::intrusive_ptr< RRValue >())
Construct an UnknownException.
ValueNotSetException(const std::string &message, std::string sub_name="", const boost::intrusive_ptr< RRValue > ¶m_=boost::intrusive_ptr< RRValue >())
Construct a ValueNotSetException.
WriteOnlyMemberException(const std::string &message, std::string sub_name="", const boost::intrusive_ptr< RRValue > ¶m_=boost::intrusive_ptr< RRValue >())
Construct a WriteOnlyMemberException.