Ice 3.7 C++11 API Reference
Loading...
Searching...
No Matches
Exception.h
Go to the documentation of this file.
1//
2// Copyright (c) ZeroC, Inc. All rights reserved.
3//
4//
5// Ice version 3.7.11
6//
7// <auto-generated>
8//
9// Generated from file `Exception.ice'
10//
11// Warning: do not edit this file.
12//
13// </auto-generated>
14//
15
16#ifndef __IceGrid_Exception_h__
17#define __IceGrid_Exception_h__
18
20#include <Ice/ProxyF.h>
21#include <Ice/ObjectF.h>
22#include <Ice/ValueF.h>
23#include <Ice/Exception.h>
24#include <Ice/LocalObject.h>
25#include <Ice/StreamHelpers.h>
26#include <Ice/Comparable.h>
28#include <IceUtil/ScopedArray.h>
29#include <Ice/Optional.h>
31#include <Ice/Identity.h>
34#include <IceGrid/Config.h>
35
36#ifndef ICE_IGNORE_VERSION
37# if ICE_INT_VERSION / 100 != 307
38# error Ice version mismatch!
39# endif
40# if ICE_INT_VERSION % 100 >= 50
41# error Beta header file detected
42# endif
43# if ICE_INT_VERSION % 100 < 11
44# error Ice patch level mismatch!
45# endif
46#endif
47
48#ifndef ICEGRID_API
49# if defined(ICE_STATIC_LIBS)
50# define ICEGRID_API /**/
51# elif defined(ICEGRID_API_EXPORTS)
52# define ICEGRID_API ICE_DECLSPEC_EXPORT
53# else
54# define ICEGRID_API ICE_DECLSPEC_IMPORT
55# endif
56#endif
57
58#ifdef ICE_CPP11_MAPPING // C++11 mapping
59
60namespace IceGrid
61{
62
67class ICE_CLASS(ICEGRID_API) ApplicationNotExistException : public ::Ice::UserExceptionHelper<ApplicationNotExistException, ::Ice::UserException>
68{
69public:
70
72
74
76
81 ApplicationNotExistException(const ::std::string& name) :
82 name(name)
83 {
84 }
85
90 std::tuple<const ::std::string&> ice_tuple() const
91 {
92 return std::tie(name);
93 }
94
99 ICE_MEMBER(ICEGRID_API) static const ::std::string& ice_staticId();
100
104 ::std::string name;
105};
106
108static ApplicationNotExistException _iceS_ApplicationNotExistException_init;
110
115class ICE_CLASS(ICEGRID_API) ServerNotExistException : public ::Ice::UserExceptionHelper<ServerNotExistException, ::Ice::UserException>
116{
117public:
118
120
122
124
129 ServerNotExistException(const ::std::string& id) :
130 id(id)
131 {
132 }
133
138 std::tuple<const ::std::string&> ice_tuple() const
139 {
140 return std::tie(id);
141 }
142
147 ICE_MEMBER(ICEGRID_API) static const ::std::string& ice_staticId();
148
152 ::std::string id;
153};
154
159class ICE_CLASS(ICEGRID_API) ServerStartException : public ::Ice::UserExceptionHelper<ServerStartException, ::Ice::UserException>
160{
161public:
162
164
166
168
174 ServerStartException(const ::std::string& id, const ::std::string& reason) :
175 id(id),
177 {
178 }
179
184 std::tuple<const ::std::string&, const ::std::string&> ice_tuple() const
185 {
186 return std::tie(id, reason);
187 }
188
193 ICE_MEMBER(ICEGRID_API) static const ::std::string& ice_staticId();
194
198 ::std::string id;
202 ::std::string reason;
203};
204
209class ICE_CLASS(ICEGRID_API) ServerStopException : public ::Ice::UserExceptionHelper<ServerStopException, ::Ice::UserException>
210{
211public:
212
214
216
218
224 ServerStopException(const ::std::string& id, const ::std::string& reason) :
225 id(id),
227 {
228 }
229
234 std::tuple<const ::std::string&, const ::std::string&> ice_tuple() const
235 {
236 return std::tie(id, reason);
237 }
238
243 ICE_MEMBER(ICEGRID_API) static const ::std::string& ice_staticId();
244
248 ::std::string id;
252 ::std::string reason;
253};
254
259class ICE_CLASS(ICEGRID_API) AdapterNotExistException : public ::Ice::UserExceptionHelper<AdapterNotExistException, ::Ice::UserException>
260{
261public:
262
264
266
268
273 AdapterNotExistException(const ::std::string& id) :
274 id(id)
275 {
276 }
277
282 std::tuple<const ::std::string&> ice_tuple() const
283 {
284 return std::tie(id);
285 }
286
291 ICE_MEMBER(ICEGRID_API) static const ::std::string& ice_staticId();
292
296 ::std::string id;
297};
298
303class ICE_CLASS(ICEGRID_API) ObjectExistsException : public ::Ice::UserExceptionHelper<ObjectExistsException, ::Ice::UserException>
304{
305public:
306
308
310
312
317 ObjectExistsException(const ::Ice::Identity& id) :
318 id(id)
319 {
320 }
321
326 std::tuple<const ::Ice::Identity&> ice_tuple() const
327 {
328 return std::tie(id);
329 }
330
335 ICE_MEMBER(ICEGRID_API) static const ::std::string& ice_staticId();
336
341};
342
347class ICE_CLASS(ICEGRID_API) ObjectNotRegisteredException : public ::Ice::UserExceptionHelper<ObjectNotRegisteredException, ::Ice::UserException>
348{
349public:
350
352
354
356
361 ObjectNotRegisteredException(const ::Ice::Identity& id) :
362 id(id)
363 {
364 }
365
370 std::tuple<const ::Ice::Identity&> ice_tuple() const
371 {
372 return std::tie(id);
373 }
374
379 ICE_MEMBER(ICEGRID_API) static const ::std::string& ice_staticId();
380
385};
386
391class ICE_CLASS(ICEGRID_API) NodeNotExistException : public ::Ice::UserExceptionHelper<NodeNotExistException, ::Ice::UserException>
392{
393public:
394
396
398
400
405 NodeNotExistException(const ::std::string& name) :
406 name(name)
407 {
408 }
409
414 std::tuple<const ::std::string&> ice_tuple() const
415 {
416 return std::tie(name);
417 }
418
423 ICE_MEMBER(ICEGRID_API) static const ::std::string& ice_staticId();
424
428 ::std::string name;
429};
430
435class ICE_CLASS(ICEGRID_API) RegistryNotExistException : public ::Ice::UserExceptionHelper<RegistryNotExistException, ::Ice::UserException>
436{
437public:
438
440
442
444
449 RegistryNotExistException(const ::std::string& name) :
450 name(name)
451 {
452 }
453
458 std::tuple<const ::std::string&> ice_tuple() const
459 {
460 return std::tie(name);
461 }
462
467 ICE_MEMBER(ICEGRID_API) static const ::std::string& ice_staticId();
468
472 ::std::string name;
473};
474
479class ICE_CLASS(ICEGRID_API) DeploymentException : public ::Ice::UserExceptionHelper<DeploymentException, ::Ice::UserException>
480{
481public:
482
484
486
488
493 DeploymentException(const ::std::string& reason) :
495 {
496 }
497
502 std::tuple<const ::std::string&> ice_tuple() const
503 {
504 return std::tie(reason);
505 }
506
511 ICE_MEMBER(ICEGRID_API) static const ::std::string& ice_staticId();
512
516 ::std::string reason;
517};
518
523class ICE_CLASS(ICEGRID_API) NodeUnreachableException : public ::Ice::UserExceptionHelper<NodeUnreachableException, ::Ice::UserException>
524{
525public:
526
528
530
532
538 NodeUnreachableException(const ::std::string& name, const ::std::string& reason) :
539 name(name),
541 {
542 }
543
548 std::tuple<const ::std::string&, const ::std::string&> ice_tuple() const
549 {
550 return std::tie(name, reason);
551 }
552
557 ICE_MEMBER(ICEGRID_API) static const ::std::string& ice_staticId();
558
562 ::std::string name;
566 ::std::string reason;
567};
568
573class ICE_CLASS(ICEGRID_API) ServerUnreachableException : public ::Ice::UserExceptionHelper<ServerUnreachableException, ::Ice::UserException>
574{
575public:
576
578
580
582
588 ServerUnreachableException(const ::std::string& name, const ::std::string& reason) :
589 name(name),
591 {
592 }
593
598 std::tuple<const ::std::string&, const ::std::string&> ice_tuple() const
599 {
600 return std::tie(name, reason);
601 }
602
607 ICE_MEMBER(ICEGRID_API) static const ::std::string& ice_staticId();
608
612 ::std::string name;
616 ::std::string reason;
617};
618
623class ICE_CLASS(ICEGRID_API) RegistryUnreachableException : public ::Ice::UserExceptionHelper<RegistryUnreachableException, ::Ice::UserException>
624{
625public:
626
628
630
632
638 RegistryUnreachableException(const ::std::string& name, const ::std::string& reason) :
639 name(name),
641 {
642 }
643
648 std::tuple<const ::std::string&, const ::std::string&> ice_tuple() const
649 {
650 return std::tie(name, reason);
651 }
652
657 ICE_MEMBER(ICEGRID_API) static const ::std::string& ice_staticId();
658
662 ::std::string name;
666 ::std::string reason;
667};
668
674class ICE_CLASS(ICEGRID_API) BadSignalException : public ::Ice::UserExceptionHelper<BadSignalException, ::Ice::UserException>
675{
676public:
677
679
681
683
688 BadSignalException(const ::std::string& reason) :
690 {
691 }
692
697 std::tuple<const ::std::string&> ice_tuple() const
698 {
699 return std::tie(reason);
700 }
701
706 ICE_MEMBER(ICEGRID_API) static const ::std::string& ice_staticId();
707
711 ::std::string reason;
712};
713
718class ICE_CLASS(ICEGRID_API) PatchException : public ::Ice::UserExceptionHelper<PatchException, ::Ice::UserException>
719{
720public:
721
723
725
726 PatchException() = default;
727
732 PatchException(const ::Ice::StringSeq& reasons) :
734 {
735 }
736
741 std::tuple<const ::Ice::StringSeq&> ice_tuple() const
742 {
743 return std::tie(reasons);
744 }
745
750 ICE_MEMBER(ICEGRID_API) static const ::std::string& ice_staticId();
751
756};
757
763class ICE_CLASS(ICEGRID_API) AccessDeniedException : public ::Ice::UserExceptionHelper<AccessDeniedException, ::Ice::UserException>
764{
765public:
766
768
770
772
777 AccessDeniedException(const ::std::string& lockUserId) :
779 {
780 }
781
786 std::tuple<const ::std::string&> ice_tuple() const
787 {
788 return std::tie(lockUserId);
789 }
790
795 ICE_MEMBER(ICEGRID_API) static const ::std::string& ice_staticId();
796
800 ::std::string lockUserId;
801};
802
807class ICE_CLASS(ICEGRID_API) AllocationException : public ::Ice::UserExceptionHelper<AllocationException, ::Ice::UserException>
808{
809public:
810
812
814
816
821 AllocationException(const ::std::string& reason) :
823 {
824 }
825
830 std::tuple<const ::std::string&> ice_tuple() const
831 {
832 return std::tie(reason);
833 }
834
839 ICE_MEMBER(ICEGRID_API) static const ::std::string& ice_staticId();
840
844 ::std::string reason;
845};
846
852class ICE_CLASS(ICEGRID_API) AllocationTimeoutException : public ::Ice::UserExceptionHelper<AllocationTimeoutException, AllocationException>
853{
854public:
855
857
859
861
866 AllocationTimeoutException(const ::std::string& reason) :
867 ::Ice::UserExceptionHelper<AllocationTimeoutException, AllocationException>(reason)
868 {
869 }
870
875 std::tuple<const ::std::string&> ice_tuple() const
876 {
877 return std::tie(reason);
878 }
879
884 ICE_MEMBER(ICEGRID_API) static const ::std::string& ice_staticId();
885};
886
892class ICE_CLASS(ICEGRID_API) PermissionDeniedException : public ::Ice::UserExceptionHelper<PermissionDeniedException, ::Ice::UserException>
893{
894public:
895
897
899
901
906 PermissionDeniedException(const ::std::string& reason) :
908 {
909 }
910
915 std::tuple<const ::std::string&> ice_tuple() const
916 {
917 return std::tie(reason);
918 }
919
924 ICE_MEMBER(ICEGRID_API) static const ::std::string& ice_staticId();
925
929 ::std::string reason;
930};
931
939class ICE_CLASS(ICEGRID_API) ObserverAlreadyRegisteredException : public ::Ice::UserExceptionHelper<ObserverAlreadyRegisteredException, ::Ice::UserException>
940{
941public:
942
944
946
948
953 ObserverAlreadyRegisteredException(const ::Ice::Identity& id) :
954 id(id)
955 {
956 }
957
962 std::tuple<const ::Ice::Identity&> ice_tuple() const
963 {
964 return std::tie(id);
965 }
966
971 ICE_MEMBER(ICEGRID_API) static const ::std::string& ice_staticId();
972
977};
978
989class ICE_CLASS(ICEGRID_API) FileNotAvailableException : public ::Ice::UserExceptionHelper<FileNotAvailableException, ::Ice::UserException>
990{
991public:
992
994
996
998
1003 FileNotAvailableException(const ::std::string& reason) :
1004 reason(reason)
1005 {
1006 }
1007
1012 std::tuple<const ::std::string&> ice_tuple() const
1013 {
1014 return std::tie(reason);
1015 }
1016
1021 ICE_MEMBER(ICEGRID_API) static const ::std::string& ice_staticId();
1022
1026 ::std::string reason;
1027};
1028
1029}
1030
1032namespace Ice
1033{
1034
1035template<typename S>
1036struct StreamReader<::IceGrid::ApplicationNotExistException, S>
1037{
1038 static void read(S* istr, ::IceGrid::ApplicationNotExistException& v)
1039 {
1040 istr->readAll(v.name);
1041 }
1042};
1043
1044template<typename S>
1045struct StreamReader<::IceGrid::ServerNotExistException, S>
1046{
1047 static void read(S* istr, ::IceGrid::ServerNotExistException& v)
1048 {
1049 istr->readAll(v.id);
1050 }
1051};
1052
1053template<typename S>
1054struct StreamReader<::IceGrid::ServerStartException, S>
1055{
1056 static void read(S* istr, ::IceGrid::ServerStartException& v)
1057 {
1058 istr->readAll(v.id, v.reason);
1059 }
1060};
1061
1062template<typename S>
1063struct StreamReader<::IceGrid::ServerStopException, S>
1064{
1065 static void read(S* istr, ::IceGrid::ServerStopException& v)
1066 {
1067 istr->readAll(v.id, v.reason);
1068 }
1069};
1070
1071template<typename S>
1072struct StreamReader<::IceGrid::AdapterNotExistException, S>
1073{
1074 static void read(S* istr, ::IceGrid::AdapterNotExistException& v)
1075 {
1076 istr->readAll(v.id);
1077 }
1078};
1079
1080template<typename S>
1081struct StreamReader<::IceGrid::ObjectExistsException, S>
1082{
1083 static void read(S* istr, ::IceGrid::ObjectExistsException& v)
1084 {
1085 istr->readAll(v.id);
1086 }
1087};
1088
1089template<typename S>
1090struct StreamReader<::IceGrid::ObjectNotRegisteredException, S>
1091{
1092 static void read(S* istr, ::IceGrid::ObjectNotRegisteredException& v)
1093 {
1094 istr->readAll(v.id);
1095 }
1096};
1097
1098template<typename S>
1099struct StreamReader<::IceGrid::NodeNotExistException, S>
1100{
1101 static void read(S* istr, ::IceGrid::NodeNotExistException& v)
1102 {
1103 istr->readAll(v.name);
1104 }
1105};
1106
1107template<typename S>
1108struct StreamReader<::IceGrid::RegistryNotExistException, S>
1109{
1110 static void read(S* istr, ::IceGrid::RegistryNotExistException& v)
1111 {
1112 istr->readAll(v.name);
1113 }
1114};
1115
1116template<typename S>
1117struct StreamReader<::IceGrid::DeploymentException, S>
1118{
1119 static void read(S* istr, ::IceGrid::DeploymentException& v)
1120 {
1121 istr->readAll(v.reason);
1122 }
1123};
1124
1125template<typename S>
1126struct StreamReader<::IceGrid::NodeUnreachableException, S>
1127{
1128 static void read(S* istr, ::IceGrid::NodeUnreachableException& v)
1129 {
1130 istr->readAll(v.name, v.reason);
1131 }
1132};
1133
1134template<typename S>
1135struct StreamReader<::IceGrid::ServerUnreachableException, S>
1136{
1137 static void read(S* istr, ::IceGrid::ServerUnreachableException& v)
1138 {
1139 istr->readAll(v.name, v.reason);
1140 }
1141};
1142
1143template<typename S>
1144struct StreamReader<::IceGrid::RegistryUnreachableException, S>
1145{
1146 static void read(S* istr, ::IceGrid::RegistryUnreachableException& v)
1147 {
1148 istr->readAll(v.name, v.reason);
1149 }
1150};
1151
1152template<typename S>
1153struct StreamReader<::IceGrid::BadSignalException, S>
1154{
1155 static void read(S* istr, ::IceGrid::BadSignalException& v)
1156 {
1157 istr->readAll(v.reason);
1158 }
1159};
1160
1161template<typename S>
1162struct StreamReader<::IceGrid::PatchException, S>
1163{
1164 static void read(S* istr, ::IceGrid::PatchException& v)
1165 {
1166 istr->readAll(v.reasons);
1167 }
1168};
1169
1170template<typename S>
1171struct StreamReader<::IceGrid::AccessDeniedException, S>
1172{
1173 static void read(S* istr, ::IceGrid::AccessDeniedException& v)
1174 {
1175 istr->readAll(v.lockUserId);
1176 }
1177};
1178
1179template<typename S>
1180struct StreamReader<::IceGrid::AllocationException, S>
1181{
1182 static void read(S* istr, ::IceGrid::AllocationException& v)
1183 {
1184 istr->readAll(v.reason);
1185 }
1186};
1187
1188template<typename S>
1189struct StreamWriter<::IceGrid::AllocationTimeoutException, S>
1190{
1191 static void write(S*, const ::IceGrid::AllocationTimeoutException&)
1192 {
1193 }
1194};
1195
1196template<typename S>
1197struct StreamReader<::IceGrid::AllocationTimeoutException, S>
1198{
1199 static void read(S*, ::IceGrid::AllocationTimeoutException&)
1200 {
1201 }
1202};
1203
1204template<typename S>
1205struct StreamReader<::IceGrid::PermissionDeniedException, S>
1206{
1207 static void read(S* istr, ::IceGrid::PermissionDeniedException& v)
1208 {
1209 istr->readAll(v.reason);
1210 }
1211};
1212
1213template<typename S>
1214struct StreamReader<::IceGrid::ObserverAlreadyRegisteredException, S>
1215{
1216 static void read(S* istr, ::IceGrid::ObserverAlreadyRegisteredException& v)
1217 {
1218 istr->readAll(v.id);
1219 }
1220};
1221
1222template<typename S>
1223struct StreamReader<::IceGrid::FileNotAvailableException, S>
1224{
1225 static void read(S* istr, ::IceGrid::FileNotAvailableException& v)
1226 {
1227 istr->readAll(v.reason);
1228 }
1229};
1230
1231}
1233
1234#else // C++98 mapping
1235
1236namespace IceGrid
1237{
1238
1243class ICEGRID_API ApplicationNotExistException : public ::Ice::UserException
1244{
1245public:
1246
1247 ApplicationNotExistException() {}
1252 explicit ApplicationNotExistException(const ::std::string& name);
1253
1254#ifdef ICE_CPP11_COMPILER
1255 ApplicationNotExistException(const ApplicationNotExistException&) = default;
1256 virtual ~ApplicationNotExistException();
1257#else
1258 virtual ~ApplicationNotExistException() throw();
1259#endif
1260
1265 virtual ::std::string ice_id() const;
1270 virtual ApplicationNotExistException* ice_clone() const;
1274 virtual void ice_throw() const;
1275
1279 ::std::string name;
1280
1281protected:
1282
1284 virtual void _writeImpl(::Ice::OutputStream*) const;
1285 virtual void _readImpl(::Ice::InputStream*);
1287};
1288
1290static ApplicationNotExistException _iceS_ApplicationNotExistException_init;
1292
1297class ICEGRID_API ServerNotExistException : public ::Ice::UserException
1298{
1299public:
1300
1301 ServerNotExistException() {}
1306 explicit ServerNotExistException(const ::std::string& id);
1307
1308#ifdef ICE_CPP11_COMPILER
1309 ServerNotExistException(const ServerNotExistException&) = default;
1310 virtual ~ServerNotExistException();
1311#else
1312 virtual ~ServerNotExistException() throw();
1313#endif
1314
1319 virtual ::std::string ice_id() const;
1324 virtual ServerNotExistException* ice_clone() const;
1328 virtual void ice_throw() const;
1329
1333 ::std::string id;
1334
1335protected:
1336
1338 virtual void _writeImpl(::Ice::OutputStream*) const;
1339 virtual void _readImpl(::Ice::InputStream*);
1341};
1342
1347class ICEGRID_API ServerStartException : public ::Ice::UserException
1348{
1349public:
1350
1351 ServerStartException() {}
1357 ServerStartException(const ::std::string& id, const ::std::string& reason);
1358
1359#ifdef ICE_CPP11_COMPILER
1360 ServerStartException(const ServerStartException&) = default;
1361 virtual ~ServerStartException();
1362#else
1363 virtual ~ServerStartException() throw();
1364#endif
1365
1370 virtual ::std::string ice_id() const;
1375 virtual ServerStartException* ice_clone() const;
1379 virtual void ice_throw() const;
1380
1384 ::std::string id;
1388 ::std::string reason;
1389
1390protected:
1391
1393 virtual void _writeImpl(::Ice::OutputStream*) const;
1394 virtual void _readImpl(::Ice::InputStream*);
1396};
1397
1402class ICEGRID_API ServerStopException : public ::Ice::UserException
1403{
1404public:
1405
1406 ServerStopException() {}
1412 ServerStopException(const ::std::string& id, const ::std::string& reason);
1413
1414#ifdef ICE_CPP11_COMPILER
1415 ServerStopException(const ServerStopException&) = default;
1416 virtual ~ServerStopException();
1417#else
1418 virtual ~ServerStopException() throw();
1419#endif
1420
1425 virtual ::std::string ice_id() const;
1430 virtual ServerStopException* ice_clone() const;
1434 virtual void ice_throw() const;
1435
1439 ::std::string id;
1443 ::std::string reason;
1444
1445protected:
1446
1448 virtual void _writeImpl(::Ice::OutputStream*) const;
1449 virtual void _readImpl(::Ice::InputStream*);
1451};
1452
1457class ICEGRID_API AdapterNotExistException : public ::Ice::UserException
1458{
1459public:
1460
1461 AdapterNotExistException() {}
1466 explicit AdapterNotExistException(const ::std::string& id);
1467
1468#ifdef ICE_CPP11_COMPILER
1469 AdapterNotExistException(const AdapterNotExistException&) = default;
1470 virtual ~AdapterNotExistException();
1471#else
1472 virtual ~AdapterNotExistException() throw();
1473#endif
1474
1479 virtual ::std::string ice_id() const;
1484 virtual AdapterNotExistException* ice_clone() const;
1488 virtual void ice_throw() const;
1489
1493 ::std::string id;
1494
1495protected:
1496
1498 virtual void _writeImpl(::Ice::OutputStream*) const;
1499 virtual void _readImpl(::Ice::InputStream*);
1501};
1502
1507class ICEGRID_API ObjectExistsException : public ::Ice::UserException
1508{
1509public:
1510
1511 ObjectExistsException() {}
1516 explicit ObjectExistsException(const ::Ice::Identity& id);
1517
1518#ifdef ICE_CPP11_COMPILER
1519 ObjectExistsException(const ObjectExistsException&) = default;
1520 virtual ~ObjectExistsException();
1521#else
1522 virtual ~ObjectExistsException() throw();
1523#endif
1524
1529 virtual ::std::string ice_id() const;
1534 virtual ObjectExistsException* ice_clone() const;
1538 virtual void ice_throw() const;
1539
1543 ::Ice::Identity id;
1544
1545protected:
1546
1548 virtual void _writeImpl(::Ice::OutputStream*) const;
1549 virtual void _readImpl(::Ice::InputStream*);
1551};
1552
1557class ICEGRID_API ObjectNotRegisteredException : public ::Ice::UserException
1558{
1559public:
1560
1561 ObjectNotRegisteredException() {}
1566 explicit ObjectNotRegisteredException(const ::Ice::Identity& id);
1567
1568#ifdef ICE_CPP11_COMPILER
1569 ObjectNotRegisteredException(const ObjectNotRegisteredException&) = default;
1570 virtual ~ObjectNotRegisteredException();
1571#else
1572 virtual ~ObjectNotRegisteredException() throw();
1573#endif
1574
1579 virtual ::std::string ice_id() const;
1584 virtual ObjectNotRegisteredException* ice_clone() const;
1588 virtual void ice_throw() const;
1589
1593 ::Ice::Identity id;
1594
1595protected:
1596
1598 virtual void _writeImpl(::Ice::OutputStream*) const;
1599 virtual void _readImpl(::Ice::InputStream*);
1601};
1602
1607class ICEGRID_API NodeNotExistException : public ::Ice::UserException
1608{
1609public:
1610
1611 NodeNotExistException() {}
1616 explicit NodeNotExistException(const ::std::string& name);
1617
1618#ifdef ICE_CPP11_COMPILER
1619 NodeNotExistException(const NodeNotExistException&) = default;
1620 virtual ~NodeNotExistException();
1621#else
1622 virtual ~NodeNotExistException() throw();
1623#endif
1624
1629 virtual ::std::string ice_id() const;
1634 virtual NodeNotExistException* ice_clone() const;
1638 virtual void ice_throw() const;
1639
1643 ::std::string name;
1644
1645protected:
1646
1648 virtual void _writeImpl(::Ice::OutputStream*) const;
1649 virtual void _readImpl(::Ice::InputStream*);
1651};
1652
1657class ICEGRID_API RegistryNotExistException : public ::Ice::UserException
1658{
1659public:
1660
1661 RegistryNotExistException() {}
1666 explicit RegistryNotExistException(const ::std::string& name);
1667
1668#ifdef ICE_CPP11_COMPILER
1669 RegistryNotExistException(const RegistryNotExistException&) = default;
1670 virtual ~RegistryNotExistException();
1671#else
1672 virtual ~RegistryNotExistException() throw();
1673#endif
1674
1679 virtual ::std::string ice_id() const;
1684 virtual RegistryNotExistException* ice_clone() const;
1688 virtual void ice_throw() const;
1689
1693 ::std::string name;
1694
1695protected:
1696
1698 virtual void _writeImpl(::Ice::OutputStream*) const;
1699 virtual void _readImpl(::Ice::InputStream*);
1701};
1702
1707class ICEGRID_API DeploymentException : public ::Ice::UserException
1708{
1709public:
1710
1711 DeploymentException() {}
1716 explicit DeploymentException(const ::std::string& reason);
1717
1718#ifdef ICE_CPP11_COMPILER
1719 DeploymentException(const DeploymentException&) = default;
1720 virtual ~DeploymentException();
1721#else
1722 virtual ~DeploymentException() throw();
1723#endif
1724
1729 virtual ::std::string ice_id() const;
1734 virtual DeploymentException* ice_clone() const;
1738 virtual void ice_throw() const;
1739
1743 ::std::string reason;
1744
1745protected:
1746
1748 virtual void _writeImpl(::Ice::OutputStream*) const;
1749 virtual void _readImpl(::Ice::InputStream*);
1751};
1752
1757class ICEGRID_API NodeUnreachableException : public ::Ice::UserException
1758{
1759public:
1760
1761 NodeUnreachableException() {}
1767 NodeUnreachableException(const ::std::string& name, const ::std::string& reason);
1768
1769#ifdef ICE_CPP11_COMPILER
1770 NodeUnreachableException(const NodeUnreachableException&) = default;
1771 virtual ~NodeUnreachableException();
1772#else
1773 virtual ~NodeUnreachableException() throw();
1774#endif
1775
1780 virtual ::std::string ice_id() const;
1785 virtual NodeUnreachableException* ice_clone() const;
1789 virtual void ice_throw() const;
1790
1794 ::std::string name;
1798 ::std::string reason;
1799
1800protected:
1801
1803 virtual void _writeImpl(::Ice::OutputStream*) const;
1804 virtual void _readImpl(::Ice::InputStream*);
1806};
1807
1812class ICEGRID_API ServerUnreachableException : public ::Ice::UserException
1813{
1814public:
1815
1816 ServerUnreachableException() {}
1822 ServerUnreachableException(const ::std::string& name, const ::std::string& reason);
1823
1824#ifdef ICE_CPP11_COMPILER
1825 ServerUnreachableException(const ServerUnreachableException&) = default;
1826 virtual ~ServerUnreachableException();
1827#else
1828 virtual ~ServerUnreachableException() throw();
1829#endif
1830
1835 virtual ::std::string ice_id() const;
1840 virtual ServerUnreachableException* ice_clone() const;
1844 virtual void ice_throw() const;
1845
1849 ::std::string name;
1853 ::std::string reason;
1854
1855protected:
1856
1858 virtual void _writeImpl(::Ice::OutputStream*) const;
1859 virtual void _readImpl(::Ice::InputStream*);
1861};
1862
1867class ICEGRID_API RegistryUnreachableException : public ::Ice::UserException
1868{
1869public:
1870
1871 RegistryUnreachableException() {}
1877 RegistryUnreachableException(const ::std::string& name, const ::std::string& reason);
1878
1879#ifdef ICE_CPP11_COMPILER
1880 RegistryUnreachableException(const RegistryUnreachableException&) = default;
1881 virtual ~RegistryUnreachableException();
1882#else
1883 virtual ~RegistryUnreachableException() throw();
1884#endif
1885
1890 virtual ::std::string ice_id() const;
1895 virtual RegistryUnreachableException* ice_clone() const;
1899 virtual void ice_throw() const;
1900
1904 ::std::string name;
1908 ::std::string reason;
1909
1910protected:
1911
1913 virtual void _writeImpl(::Ice::OutputStream*) const;
1914 virtual void _readImpl(::Ice::InputStream*);
1916};
1917
1923class ICEGRID_API BadSignalException : public ::Ice::UserException
1924{
1925public:
1926
1927 BadSignalException() {}
1932 explicit BadSignalException(const ::std::string& reason);
1933
1934#ifdef ICE_CPP11_COMPILER
1935 BadSignalException(const BadSignalException&) = default;
1936 virtual ~BadSignalException();
1937#else
1938 virtual ~BadSignalException() throw();
1939#endif
1940
1945 virtual ::std::string ice_id() const;
1950 virtual BadSignalException* ice_clone() const;
1954 virtual void ice_throw() const;
1955
1959 ::std::string reason;
1960
1961protected:
1962
1964 virtual void _writeImpl(::Ice::OutputStream*) const;
1965 virtual void _readImpl(::Ice::InputStream*);
1967};
1968
1973class ICEGRID_API PatchException : public ::Ice::UserException
1974{
1975public:
1976
1977 PatchException() {}
1982 explicit PatchException(const ::Ice::StringSeq& reasons);
1983
1984#ifdef ICE_CPP11_COMPILER
1985 PatchException(const PatchException&) = default;
1986 virtual ~PatchException();
1987#else
1988 virtual ~PatchException() throw();
1989#endif
1990
1995 virtual ::std::string ice_id() const;
2000 virtual PatchException* ice_clone() const;
2004 virtual void ice_throw() const;
2005
2009 ::Ice::StringSeq reasons;
2010
2011protected:
2012
2014 virtual void _writeImpl(::Ice::OutputStream*) const;
2015 virtual void _readImpl(::Ice::InputStream*);
2017};
2018
2024class ICEGRID_API AccessDeniedException : public ::Ice::UserException
2025{
2026public:
2027
2028 AccessDeniedException() {}
2033 explicit AccessDeniedException(const ::std::string& lockUserId);
2034
2035#ifdef ICE_CPP11_COMPILER
2036 AccessDeniedException(const AccessDeniedException&) = default;
2037 virtual ~AccessDeniedException();
2038#else
2039 virtual ~AccessDeniedException() throw();
2040#endif
2041
2046 virtual ::std::string ice_id() const;
2051 virtual AccessDeniedException* ice_clone() const;
2055 virtual void ice_throw() const;
2056
2060 ::std::string lockUserId;
2061
2062protected:
2063
2065 virtual void _writeImpl(::Ice::OutputStream*) const;
2066 virtual void _readImpl(::Ice::InputStream*);
2068};
2069
2074class ICEGRID_API AllocationException : public ::Ice::UserException
2075{
2076public:
2077
2078 AllocationException() {}
2083 explicit AllocationException(const ::std::string& reason);
2084
2085#ifdef ICE_CPP11_COMPILER
2086 AllocationException(const AllocationException&) = default;
2087 virtual ~AllocationException();
2088#else
2089 virtual ~AllocationException() throw();
2090#endif
2091
2096 virtual ::std::string ice_id() const;
2101 virtual AllocationException* ice_clone() const;
2105 virtual void ice_throw() const;
2106
2110 ::std::string reason;
2111
2112protected:
2113
2115 virtual void _writeImpl(::Ice::OutputStream*) const;
2116 virtual void _readImpl(::Ice::InputStream*);
2118};
2119
2126{
2127public:
2128
2129 AllocationTimeoutException() {}
2134 explicit AllocationTimeoutException(const ::std::string& reason);
2135
2136#ifdef ICE_CPP11_COMPILER
2137 AllocationTimeoutException(const AllocationTimeoutException&) = default;
2138 virtual ~AllocationTimeoutException();
2139#else
2140 virtual ~AllocationTimeoutException() throw();
2141#endif
2142
2147 virtual ::std::string ice_id() const;
2152 virtual AllocationTimeoutException* ice_clone() const;
2156 virtual void ice_throw() const;
2157
2158protected:
2159
2161 virtual void _writeImpl(::Ice::OutputStream*) const;
2162 virtual void _readImpl(::Ice::InputStream*);
2164};
2165
2171class ICEGRID_API PermissionDeniedException : public ::Ice::UserException
2172{
2173public:
2174
2175 PermissionDeniedException() {}
2180 explicit PermissionDeniedException(const ::std::string& reason);
2181
2182#ifdef ICE_CPP11_COMPILER
2183 PermissionDeniedException(const PermissionDeniedException&) = default;
2184 virtual ~PermissionDeniedException();
2185#else
2186 virtual ~PermissionDeniedException() throw();
2187#endif
2188
2193 virtual ::std::string ice_id() const;
2198 virtual PermissionDeniedException* ice_clone() const;
2202 virtual void ice_throw() const;
2203
2207 ::std::string reason;
2208
2209protected:
2210
2212 virtual void _writeImpl(::Ice::OutputStream*) const;
2213 virtual void _readImpl(::Ice::InputStream*);
2215};
2216
2224class ICEGRID_API ObserverAlreadyRegisteredException : public ::Ice::UserException
2225{
2226public:
2227
2228 ObserverAlreadyRegisteredException() {}
2233 explicit ObserverAlreadyRegisteredException(const ::Ice::Identity& id);
2234
2235#ifdef ICE_CPP11_COMPILER
2236 ObserverAlreadyRegisteredException(const ObserverAlreadyRegisteredException&) = default;
2237 virtual ~ObserverAlreadyRegisteredException();
2238#else
2239 virtual ~ObserverAlreadyRegisteredException() throw();
2240#endif
2241
2246 virtual ::std::string ice_id() const;
2251 virtual ObserverAlreadyRegisteredException* ice_clone() const;
2255 virtual void ice_throw() const;
2256
2260 ::Ice::Identity id;
2261
2262protected:
2263
2265 virtual void _writeImpl(::Ice::OutputStream*) const;
2266 virtual void _readImpl(::Ice::InputStream*);
2268};
2269
2280class ICEGRID_API FileNotAvailableException : public ::Ice::UserException
2281{
2282public:
2283
2284 FileNotAvailableException() {}
2289 explicit FileNotAvailableException(const ::std::string& reason);
2290
2291#ifdef ICE_CPP11_COMPILER
2292 FileNotAvailableException(const FileNotAvailableException&) = default;
2293 virtual ~FileNotAvailableException();
2294#else
2295 virtual ~FileNotAvailableException() throw();
2296#endif
2297
2302 virtual ::std::string ice_id() const;
2307 virtual FileNotAvailableException* ice_clone() const;
2311 virtual void ice_throw() const;
2312
2316 ::std::string reason;
2317
2318protected:
2319
2321 virtual void _writeImpl(::Ice::OutputStream*) const;
2322 virtual void _readImpl(::Ice::InputStream*);
2324};
2325
2326}
2327
2329namespace Ice
2330{
2331
2332template<>
2333struct StreamableTraits< ::IceGrid::ApplicationNotExistException>
2334{
2335 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2336};
2337
2338template<typename S>
2339struct StreamWriter< ::IceGrid::ApplicationNotExistException, S>
2340{
2341 static void write(S* ostr, const ::IceGrid::ApplicationNotExistException& v)
2342 {
2343 ostr->write(v.name);
2344 }
2345};
2346
2347template<typename S>
2348struct StreamReader< ::IceGrid::ApplicationNotExistException, S>
2349{
2350 static void read(S* istr, ::IceGrid::ApplicationNotExistException& v)
2351 {
2352 istr->read(v.name);
2353 }
2354};
2355
2356template<>
2357struct StreamableTraits< ::IceGrid::ServerNotExistException>
2358{
2359 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2360};
2361
2362template<typename S>
2363struct StreamWriter< ::IceGrid::ServerNotExistException, S>
2364{
2365 static void write(S* ostr, const ::IceGrid::ServerNotExistException& v)
2366 {
2367 ostr->write(v.id);
2368 }
2369};
2370
2371template<typename S>
2372struct StreamReader< ::IceGrid::ServerNotExistException, S>
2373{
2374 static void read(S* istr, ::IceGrid::ServerNotExistException& v)
2375 {
2376 istr->read(v.id);
2377 }
2378};
2379
2380template<>
2381struct StreamableTraits< ::IceGrid::ServerStartException>
2382{
2383 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2384};
2385
2386template<typename S>
2387struct StreamWriter< ::IceGrid::ServerStartException, S>
2388{
2389 static void write(S* ostr, const ::IceGrid::ServerStartException& v)
2390 {
2391 ostr->write(v.id);
2392 ostr->write(v.reason);
2393 }
2394};
2395
2396template<typename S>
2397struct StreamReader< ::IceGrid::ServerStartException, S>
2398{
2399 static void read(S* istr, ::IceGrid::ServerStartException& v)
2400 {
2401 istr->read(v.id);
2402 istr->read(v.reason);
2403 }
2404};
2405
2406template<>
2407struct StreamableTraits< ::IceGrid::ServerStopException>
2408{
2409 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2410};
2411
2412template<typename S>
2413struct StreamWriter< ::IceGrid::ServerStopException, S>
2414{
2415 static void write(S* ostr, const ::IceGrid::ServerStopException& v)
2416 {
2417 ostr->write(v.id);
2418 ostr->write(v.reason);
2419 }
2420};
2421
2422template<typename S>
2423struct StreamReader< ::IceGrid::ServerStopException, S>
2424{
2425 static void read(S* istr, ::IceGrid::ServerStopException& v)
2426 {
2427 istr->read(v.id);
2428 istr->read(v.reason);
2429 }
2430};
2431
2432template<>
2433struct StreamableTraits< ::IceGrid::AdapterNotExistException>
2434{
2435 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2436};
2437
2438template<typename S>
2439struct StreamWriter< ::IceGrid::AdapterNotExistException, S>
2440{
2441 static void write(S* ostr, const ::IceGrid::AdapterNotExistException& v)
2442 {
2443 ostr->write(v.id);
2444 }
2445};
2446
2447template<typename S>
2448struct StreamReader< ::IceGrid::AdapterNotExistException, S>
2449{
2450 static void read(S* istr, ::IceGrid::AdapterNotExistException& v)
2451 {
2452 istr->read(v.id);
2453 }
2454};
2455
2456template<>
2457struct StreamableTraits< ::IceGrid::ObjectExistsException>
2458{
2459 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2460};
2461
2462template<typename S>
2463struct StreamWriter< ::IceGrid::ObjectExistsException, S>
2464{
2465 static void write(S* ostr, const ::IceGrid::ObjectExistsException& v)
2466 {
2467 ostr->write(v.id);
2468 }
2469};
2470
2471template<typename S>
2472struct StreamReader< ::IceGrid::ObjectExistsException, S>
2473{
2474 static void read(S* istr, ::IceGrid::ObjectExistsException& v)
2475 {
2476 istr->read(v.id);
2477 }
2478};
2479
2480template<>
2481struct StreamableTraits< ::IceGrid::ObjectNotRegisteredException>
2482{
2483 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2484};
2485
2486template<typename S>
2487struct StreamWriter< ::IceGrid::ObjectNotRegisteredException, S>
2488{
2489 static void write(S* ostr, const ::IceGrid::ObjectNotRegisteredException& v)
2490 {
2491 ostr->write(v.id);
2492 }
2493};
2494
2495template<typename S>
2496struct StreamReader< ::IceGrid::ObjectNotRegisteredException, S>
2497{
2498 static void read(S* istr, ::IceGrid::ObjectNotRegisteredException& v)
2499 {
2500 istr->read(v.id);
2501 }
2502};
2503
2504template<>
2505struct StreamableTraits< ::IceGrid::NodeNotExistException>
2506{
2507 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2508};
2509
2510template<typename S>
2511struct StreamWriter< ::IceGrid::NodeNotExistException, S>
2512{
2513 static void write(S* ostr, const ::IceGrid::NodeNotExistException& v)
2514 {
2515 ostr->write(v.name);
2516 }
2517};
2518
2519template<typename S>
2520struct StreamReader< ::IceGrid::NodeNotExistException, S>
2521{
2522 static void read(S* istr, ::IceGrid::NodeNotExistException& v)
2523 {
2524 istr->read(v.name);
2525 }
2526};
2527
2528template<>
2529struct StreamableTraits< ::IceGrid::RegistryNotExistException>
2530{
2531 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2532};
2533
2534template<typename S>
2535struct StreamWriter< ::IceGrid::RegistryNotExistException, S>
2536{
2537 static void write(S* ostr, const ::IceGrid::RegistryNotExistException& v)
2538 {
2539 ostr->write(v.name);
2540 }
2541};
2542
2543template<typename S>
2544struct StreamReader< ::IceGrid::RegistryNotExistException, S>
2545{
2546 static void read(S* istr, ::IceGrid::RegistryNotExistException& v)
2547 {
2548 istr->read(v.name);
2549 }
2550};
2551
2552template<>
2553struct StreamableTraits< ::IceGrid::DeploymentException>
2554{
2555 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2556};
2557
2558template<typename S>
2559struct StreamWriter< ::IceGrid::DeploymentException, S>
2560{
2561 static void write(S* ostr, const ::IceGrid::DeploymentException& v)
2562 {
2563 ostr->write(v.reason);
2564 }
2565};
2566
2567template<typename S>
2568struct StreamReader< ::IceGrid::DeploymentException, S>
2569{
2570 static void read(S* istr, ::IceGrid::DeploymentException& v)
2571 {
2572 istr->read(v.reason);
2573 }
2574};
2575
2576template<>
2577struct StreamableTraits< ::IceGrid::NodeUnreachableException>
2578{
2579 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2580};
2581
2582template<typename S>
2583struct StreamWriter< ::IceGrid::NodeUnreachableException, S>
2584{
2585 static void write(S* ostr, const ::IceGrid::NodeUnreachableException& v)
2586 {
2587 ostr->write(v.name);
2588 ostr->write(v.reason);
2589 }
2590};
2591
2592template<typename S>
2593struct StreamReader< ::IceGrid::NodeUnreachableException, S>
2594{
2595 static void read(S* istr, ::IceGrid::NodeUnreachableException& v)
2596 {
2597 istr->read(v.name);
2598 istr->read(v.reason);
2599 }
2600};
2601
2602template<>
2603struct StreamableTraits< ::IceGrid::ServerUnreachableException>
2604{
2605 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2606};
2607
2608template<typename S>
2609struct StreamWriter< ::IceGrid::ServerUnreachableException, S>
2610{
2611 static void write(S* ostr, const ::IceGrid::ServerUnreachableException& v)
2612 {
2613 ostr->write(v.name);
2614 ostr->write(v.reason);
2615 }
2616};
2617
2618template<typename S>
2619struct StreamReader< ::IceGrid::ServerUnreachableException, S>
2620{
2621 static void read(S* istr, ::IceGrid::ServerUnreachableException& v)
2622 {
2623 istr->read(v.name);
2624 istr->read(v.reason);
2625 }
2626};
2627
2628template<>
2629struct StreamableTraits< ::IceGrid::RegistryUnreachableException>
2630{
2631 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2632};
2633
2634template<typename S>
2635struct StreamWriter< ::IceGrid::RegistryUnreachableException, S>
2636{
2637 static void write(S* ostr, const ::IceGrid::RegistryUnreachableException& v)
2638 {
2639 ostr->write(v.name);
2640 ostr->write(v.reason);
2641 }
2642};
2643
2644template<typename S>
2645struct StreamReader< ::IceGrid::RegistryUnreachableException, S>
2646{
2647 static void read(S* istr, ::IceGrid::RegistryUnreachableException& v)
2648 {
2649 istr->read(v.name);
2650 istr->read(v.reason);
2651 }
2652};
2653
2654template<>
2655struct StreamableTraits< ::IceGrid::BadSignalException>
2656{
2657 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2658};
2659
2660template<typename S>
2661struct StreamWriter< ::IceGrid::BadSignalException, S>
2662{
2663 static void write(S* ostr, const ::IceGrid::BadSignalException& v)
2664 {
2665 ostr->write(v.reason);
2666 }
2667};
2668
2669template<typename S>
2670struct StreamReader< ::IceGrid::BadSignalException, S>
2671{
2672 static void read(S* istr, ::IceGrid::BadSignalException& v)
2673 {
2674 istr->read(v.reason);
2675 }
2676};
2677
2678template<>
2679struct StreamableTraits< ::IceGrid::PatchException>
2680{
2681 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2682};
2683
2684template<typename S>
2685struct StreamWriter< ::IceGrid::PatchException, S>
2686{
2687 static void write(S* ostr, const ::IceGrid::PatchException& v)
2688 {
2689 ostr->write(v.reasons);
2690 }
2691};
2692
2693template<typename S>
2694struct StreamReader< ::IceGrid::PatchException, S>
2695{
2696 static void read(S* istr, ::IceGrid::PatchException& v)
2697 {
2698 istr->read(v.reasons);
2699 }
2700};
2701
2702template<>
2703struct StreamableTraits< ::IceGrid::AccessDeniedException>
2704{
2705 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2706};
2707
2708template<typename S>
2709struct StreamWriter< ::IceGrid::AccessDeniedException, S>
2710{
2711 static void write(S* ostr, const ::IceGrid::AccessDeniedException& v)
2712 {
2713 ostr->write(v.lockUserId);
2714 }
2715};
2716
2717template<typename S>
2718struct StreamReader< ::IceGrid::AccessDeniedException, S>
2719{
2720 static void read(S* istr, ::IceGrid::AccessDeniedException& v)
2721 {
2722 istr->read(v.lockUserId);
2723 }
2724};
2725
2726template<>
2727struct StreamableTraits< ::IceGrid::AllocationException>
2728{
2729 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2730};
2731
2732template<typename S>
2733struct StreamWriter< ::IceGrid::AllocationException, S>
2734{
2735 static void write(S* ostr, const ::IceGrid::AllocationException& v)
2736 {
2737 ostr->write(v.reason);
2738 }
2739};
2740
2741template<typename S>
2742struct StreamReader< ::IceGrid::AllocationException, S>
2743{
2744 static void read(S* istr, ::IceGrid::AllocationException& v)
2745 {
2746 istr->read(v.reason);
2747 }
2748};
2749
2750template<>
2751struct StreamableTraits< ::IceGrid::AllocationTimeoutException>
2752{
2753 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2754};
2755
2756template<>
2757struct StreamableTraits< ::IceGrid::PermissionDeniedException>
2758{
2759 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2760};
2761
2762template<typename S>
2763struct StreamWriter< ::IceGrid::PermissionDeniedException, S>
2764{
2765 static void write(S* ostr, const ::IceGrid::PermissionDeniedException& v)
2766 {
2767 ostr->write(v.reason);
2768 }
2769};
2770
2771template<typename S>
2772struct StreamReader< ::IceGrid::PermissionDeniedException, S>
2773{
2774 static void read(S* istr, ::IceGrid::PermissionDeniedException& v)
2775 {
2776 istr->read(v.reason);
2777 }
2778};
2779
2780template<>
2781struct StreamableTraits< ::IceGrid::ObserverAlreadyRegisteredException>
2782{
2783 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2784};
2785
2786template<typename S>
2787struct StreamWriter< ::IceGrid::ObserverAlreadyRegisteredException, S>
2788{
2789 static void write(S* ostr, const ::IceGrid::ObserverAlreadyRegisteredException& v)
2790 {
2791 ostr->write(v.id);
2792 }
2793};
2794
2795template<typename S>
2796struct StreamReader< ::IceGrid::ObserverAlreadyRegisteredException, S>
2797{
2798 static void read(S* istr, ::IceGrid::ObserverAlreadyRegisteredException& v)
2799 {
2800 istr->read(v.id);
2801 }
2802};
2803
2804template<>
2805struct StreamableTraits< ::IceGrid::FileNotAvailableException>
2806{
2807 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2808};
2809
2810template<typename S>
2811struct StreamWriter< ::IceGrid::FileNotAvailableException, S>
2812{
2813 static void write(S* ostr, const ::IceGrid::FileNotAvailableException& v)
2814 {
2815 ostr->write(v.reason);
2816 }
2817};
2818
2819template<typename S>
2820struct StreamReader< ::IceGrid::FileNotAvailableException, S>
2821{
2822 static void read(S* istr, ::IceGrid::FileNotAvailableException& v)
2823 {
2824 istr->read(v.reason);
2825 }
2826};
2827
2828}
2830
2831#endif
2832
2834#endif
#define ICEGRID_API
Definition Descriptor.h:58
#define ICE_MEMBER(API)
Definition Config.h:177
This exception is raised if a registry lock wasn't acquired or is already held by a session.
Definition Exception.h:764
::std::string lockUserId
The id of the user holding the lock (if any).
Definition Exception.h:800
AccessDeniedException(const AccessDeniedException &)=default
std::tuple< const ::std::string & > ice_tuple() const
Obtains a tuple containing all of the exception's data members.
Definition Exception.h:786
static const ::std::string & ice_staticId()
Obtains the Slice type ID of this exception.
AccessDeniedException(const ::std::string &lockUserId)
One-shot constructor to initialize all data members.
Definition Exception.h:777
This exception is raised if an adapter does not exist.
Definition Exception.h:260
::std::string id
The id of the object adapter.
Definition Exception.h:296
AdapterNotExistException(const ::std::string &id)
One-shot constructor to initialize all data members.
Definition Exception.h:273
AdapterNotExistException(const AdapterNotExistException &)=default
static const ::std::string & ice_staticId()
Obtains the Slice type ID of this exception.
std::tuple< const ::std::string & > ice_tuple() const
Obtains a tuple containing all of the exception's data members.
Definition Exception.h:282
This exception is raised if the allocation of an object failed.
Definition Exception.h:808
std::tuple< const ::std::string & > ice_tuple() const
Obtains a tuple containing all of the exception's data members.
Definition Exception.h:830
static const ::std::string & ice_staticId()
Obtains the Slice type ID of this exception.
AllocationException(const AllocationException &)=default
::std::string reason
The reason why the object couldn't be allocated.
Definition Exception.h:844
AllocationException(const ::std::string &reason)
One-shot constructor to initialize all data members.
Definition Exception.h:821
This exception is raised if the request to allocate an object times out.
Definition Exception.h:853
std::tuple< const ::std::string & > ice_tuple() const
Obtains a tuple containing all of the exception's data members.
Definition Exception.h:875
static const ::std::string & ice_staticId()
Obtains the Slice type ID of this exception.
AllocationTimeoutException(const ::std::string &reason)
One-shot constructor to initialize all data members.
Definition Exception.h:866
AllocationTimeoutException(const AllocationTimeoutException &)=default
This exception is raised if an application does not exist.
Definition Exception.h:68
ApplicationNotExistException(const ApplicationNotExistException &)=default
std::tuple< const ::std::string & > ice_tuple() const
Obtains a tuple containing all of the exception's data members.
Definition Exception.h:90
static const ::std::string & ice_staticId()
Obtains the Slice type ID of this exception.
ApplicationNotExistException(const ::std::string &name)
One-shot constructor to initialize all data members.
Definition Exception.h:81
::std::string name
The name of the application.
Definition Exception.h:104
This exception is raised if an unknown signal was sent to to a server.
Definition Exception.h:675
std::tuple< const ::std::string & > ice_tuple() const
Obtains a tuple containing all of the exception's data members.
Definition Exception.h:697
::std::string reason
The details of the unknown signal.
Definition Exception.h:711
BadSignalException(const ::std::string &reason)
One-shot constructor to initialize all data members.
Definition Exception.h:688
BadSignalException(const BadSignalException &)=default
static const ::std::string & ice_staticId()
Obtains the Slice type ID of this exception.
An exception for deployment errors.
Definition Exception.h:480
std::tuple< const ::std::string & > ice_tuple() const
Obtains a tuple containing all of the exception's data members.
Definition Exception.h:502
DeploymentException(const DeploymentException &)=default
DeploymentException(const ::std::string &reason)
One-shot constructor to initialize all data members.
Definition Exception.h:493
static const ::std::string & ice_staticId()
Obtains the Slice type ID of this exception.
::std::string reason
The reason for the failure.
Definition Exception.h:516
This exception is raised if a file is not available.
Definition Exception.h:990
::std::string reason
The reason for the failure.
Definition Exception.h:1026
std::tuple< const ::std::string & > ice_tuple() const
Obtains a tuple containing all of the exception's data members.
Definition Exception.h:1012
FileNotAvailableException(const FileNotAvailableException &)=default
FileNotAvailableException(const ::std::string &reason)
One-shot constructor to initialize all data members.
Definition Exception.h:1003
static const ::std::string & ice_staticId()
Obtains the Slice type ID of this exception.
This exception is raised if a node does not exist.
Definition Exception.h:392
NodeNotExistException(const NodeNotExistException &)=default
::std::string name
The node name.
Definition Exception.h:428
NodeNotExistException(const ::std::string &name)
One-shot constructor to initialize all data members.
Definition Exception.h:405
std::tuple< const ::std::string & > ice_tuple() const
Obtains a tuple containing all of the exception's data members.
Definition Exception.h:414
static const ::std::string & ice_staticId()
Obtains the Slice type ID of this exception.
This exception is raised if a node could not be reached.
Definition Exception.h:524
::std::string name
The name of the node that is not reachable.
Definition Exception.h:562
NodeUnreachableException(const ::std::string &name, const ::std::string &reason)
One-shot constructor to initialize all data members.
Definition Exception.h:538
::std::string reason
The reason why the node couldn't be reached.
Definition Exception.h:566
NodeUnreachableException(const NodeUnreachableException &)=default
std::tuple< const ::std::string &, const ::std::string & > ice_tuple() const
Obtains a tuple containing all of the exception's data members.
Definition Exception.h:548
static const ::std::string & ice_staticId()
Obtains the Slice type ID of this exception.
This exception is raised if an object already exists.
Definition Exception.h:304
std::tuple< const ::Ice::Identity & > ice_tuple() const
Obtains a tuple containing all of the exception's data members.
Definition Exception.h:326
::Ice::Identity id
The identity of the object.
Definition Exception.h:340
static const ::std::string & ice_staticId()
Obtains the Slice type ID of this exception.
ObjectExistsException(const ::Ice::Identity &id)
One-shot constructor to initialize all data members.
Definition Exception.h:317
ObjectExistsException(const ObjectExistsException &)=default
This exception is raised if an object is not registered.
Definition Exception.h:348
::Ice::Identity id
The identity of the object.
Definition Exception.h:384
std::tuple< const ::Ice::Identity & > ice_tuple() const
Obtains a tuple containing all of the exception's data members.
Definition Exception.h:370
ObjectNotRegisteredException(const ObjectNotRegisteredException &)=default
ObjectNotRegisteredException(const ::Ice::Identity &id)
One-shot constructor to initialize all data members.
Definition Exception.h:361
static const ::std::string & ice_staticId()
Obtains the Slice type ID of this exception.
This exception is raised if an observer is already registered with the registry.
Definition Exception.h:940
static const ::std::string & ice_staticId()
Obtains the Slice type ID of this exception.
ObserverAlreadyRegisteredException(const ObserverAlreadyRegisteredException &)=default
std::tuple< const ::Ice::Identity & > ice_tuple() const
Obtains a tuple containing all of the exception's data members.
Definition Exception.h:962
::Ice::Identity id
The identity of the observer.
Definition Exception.h:976
ObserverAlreadyRegisteredException(const ::Ice::Identity &id)
One-shot constructor to initialize all data members.
Definition Exception.h:953
This exception is raised if a patch failed.
Definition Exception.h:719
::Ice::StringSeq reasons
The reasons why the patch failed.
Definition Exception.h:755
PatchException(const ::Ice::StringSeq &reasons)
One-shot constructor to initialize all data members.
Definition Exception.h:732
static const ::std::string & ice_staticId()
Obtains the Slice type ID of this exception.
std::tuple< const ::Ice::StringSeq & > ice_tuple() const
Obtains a tuple containing all of the exception's data members.
Definition Exception.h:741
PatchException(const PatchException &)=default
This exception is raised if a client is denied the ability to create a session with IceGrid.
Definition Exception.h:893
::std::string reason
The reason why permission was denied.
Definition Exception.h:929
static const ::std::string & ice_staticId()
Obtains the Slice type ID of this exception.
PermissionDeniedException(const ::std::string &reason)
One-shot constructor to initialize all data members.
Definition Exception.h:906
PermissionDeniedException(const PermissionDeniedException &)=default
std::tuple< const ::std::string & > ice_tuple() const
Obtains a tuple containing all of the exception's data members.
Definition Exception.h:915
This exception is raised if a registry does not exist.
Definition Exception.h:436
static const ::std::string & ice_staticId()
Obtains the Slice type ID of this exception.
RegistryNotExistException(const RegistryNotExistException &)=default
RegistryNotExistException(const ::std::string &name)
One-shot constructor to initialize all data members.
Definition Exception.h:449
std::tuple< const ::std::string & > ice_tuple() const
Obtains a tuple containing all of the exception's data members.
Definition Exception.h:458
::std::string name
The registry name.
Definition Exception.h:472
This exception is raised if a registry could not be reached.
Definition Exception.h:624
RegistryUnreachableException(const ::std::string &name, const ::std::string &reason)
One-shot constructor to initialize all data members.
Definition Exception.h:638
std::tuple< const ::std::string &, const ::std::string & > ice_tuple() const
Obtains a tuple containing all of the exception's data members.
Definition Exception.h:648
::std::string reason
The reason why the registry couldn't be reached.
Definition Exception.h:666
::std::string name
The name of the registry that is not reachable.
Definition Exception.h:662
static const ::std::string & ice_staticId()
Obtains the Slice type ID of this exception.
RegistryUnreachableException(const RegistryUnreachableException &)=default
This exception is raised if a server does not exist.
Definition Exception.h:116
static const ::std::string & ice_staticId()
Obtains the Slice type ID of this exception.
ServerNotExistException(const ::std::string &id)
One-shot constructor to initialize all data members.
Definition Exception.h:129
ServerNotExistException(const ServerNotExistException &)=default
std::tuple< const ::std::string & > ice_tuple() const
Obtains a tuple containing all of the exception's data members.
Definition Exception.h:138
::std::string id
The identifier of the server.
Definition Exception.h:152
This exception is raised if a server failed to start.
Definition Exception.h:160
std::tuple< const ::std::string &, const ::std::string & > ice_tuple() const
Obtains a tuple containing all of the exception's data members.
Definition Exception.h:184
static const ::std::string & ice_staticId()
Obtains the Slice type ID of this exception.
::std::string reason
The reason for the failure.
Definition Exception.h:202
::std::string id
The identifier of the server.
Definition Exception.h:198
ServerStartException(const ::std::string &id, const ::std::string &reason)
One-shot constructor to initialize all data members.
Definition Exception.h:174
ServerStartException(const ServerStartException &)=default
This exception is raised if a server failed to stop.
Definition Exception.h:210
ServerStopException(const ::std::string &id, const ::std::string &reason)
One-shot constructor to initialize all data members.
Definition Exception.h:224
ServerStopException(const ServerStopException &)=default
::std::string reason
The reason for the failure.
Definition Exception.h:252
std::tuple< const ::std::string &, const ::std::string & > ice_tuple() const
Obtains a tuple containing all of the exception's data members.
Definition Exception.h:234
static const ::std::string & ice_staticId()
Obtains the Slice type ID of this exception.
::std::string id
The identifier of the server.
Definition Exception.h:248
This exception is raised if a server could not be reached.
Definition Exception.h:574
ServerUnreachableException(const ServerUnreachableException &)=default
static const ::std::string & ice_staticId()
Obtains the Slice type ID of this exception.
ServerUnreachableException(const ::std::string &name, const ::std::string &reason)
One-shot constructor to initialize all data members.
Definition Exception.h:588
std::tuple< const ::std::string &, const ::std::string & > ice_tuple() const
Obtains a tuple containing all of the exception's data members.
Definition Exception.h:598
::std::string name
The id of the server that is not reachable.
Definition Exception.h:612
::std::string reason
The reason why the server couldn't be reached.
Definition Exception.h:616
Helper template for the implementation of Ice::UserException.
Definition ExceptionHelpers.h:39
Definition Admin.h:73
Definition BuiltinSequences.h:56
::std::vector<::std::string > StringSeq
A sequence of strings.
Definition BuiltinSequences.h:96
The identity of an Ice object.
Definition Identity.h:67