16#ifndef __IceGrid_Exception_h__
17#define __IceGrid_Exception_h__
36#ifndef ICE_IGNORE_VERSION
37# if ICE_INT_VERSION / 100 != 307
38# error Ice version mismatch!
40# if ICE_INT_VERSION % 100 >= 50
41# error Beta header file detected
43# if ICE_INT_VERSION % 100 < 11
44# error Ice patch level mismatch!
49# if defined(ICE_STATIC_LIBS)
51# elif defined(ICEGRID_API_EXPORTS)
52# define ICEGRID_API ICE_DECLSPEC_EXPORT
54# define ICEGRID_API ICE_DECLSPEC_IMPORT
58#ifdef ICE_CPP11_MAPPING
92 return std::tie(
name);
184 std::tuple<const ::std::string&, const ::std::string&>
ice_tuple()
const
186 return std::tie(
id,
reason);
234 std::tuple<const ::std::string&, const ::std::string&>
ice_tuple()
const
236 return std::tie(
id,
reason);
416 return std::tie(
name);
460 return std::tie(
name);
548 std::tuple<const ::std::string&, const ::std::string&>
ice_tuple()
const
598 std::tuple<const ::std::string&, const ::std::string&>
ice_tuple()
const
648 std::tuple<const ::std::string&, const ::std::string&>
ice_tuple()
const
877 return std::tie(reason);
1040 istr->readAll(v.
name);
1045struct StreamReader<::IceGrid::ServerNotExistException, S>
1047 static void read(S* istr, ::IceGrid::ServerNotExistException& v)
1049 istr->readAll(v.
id);
1054struct StreamReader<::IceGrid::ServerStartException, S>
1056 static void read(S* istr, ::IceGrid::ServerStartException& v)
1063struct StreamReader<::IceGrid::ServerStopException, S>
1065 static void read(S* istr, ::IceGrid::ServerStopException& v)
1072struct StreamReader<::IceGrid::AdapterNotExistException, S>
1074 static void read(S* istr, ::IceGrid::AdapterNotExistException& v)
1076 istr->readAll(v.
id);
1081struct StreamReader<::IceGrid::ObjectExistsException, S>
1083 static void read(S* istr, ::IceGrid::ObjectExistsException& v)
1085 istr->readAll(v.
id);
1090struct StreamReader<::IceGrid::ObjectNotRegisteredException, S>
1092 static void read(S* istr, ::IceGrid::ObjectNotRegisteredException& v)
1094 istr->readAll(v.
id);
1099struct StreamReader<::IceGrid::NodeNotExistException, S>
1101 static void read(S* istr, ::IceGrid::NodeNotExistException& v)
1103 istr->readAll(v.
name);
1108struct StreamReader<::IceGrid::RegistryNotExistException, S>
1110 static void read(S* istr, ::IceGrid::RegistryNotExistException& v)
1112 istr->readAll(v.
name);
1117struct StreamReader<::IceGrid::DeploymentException, S>
1119 static void read(S* istr, ::IceGrid::DeploymentException& v)
1126struct StreamReader<::IceGrid::NodeUnreachableException, S>
1128 static void read(S* istr, ::IceGrid::NodeUnreachableException& v)
1135struct StreamReader<::IceGrid::ServerUnreachableException, S>
1137 static void read(S* istr, ::IceGrid::ServerUnreachableException& v)
1144struct StreamReader<::IceGrid::RegistryUnreachableException, S>
1146 static void read(S* istr, ::IceGrid::RegistryUnreachableException& v)
1153struct StreamReader<::IceGrid::BadSignalException, S>
1155 static void read(S* istr, ::IceGrid::BadSignalException& v)
1162struct StreamReader<::IceGrid::PatchException, S>
1164 static void read(S* istr, ::IceGrid::PatchException& v)
1171struct StreamReader<::IceGrid::AccessDeniedException, S>
1173 static void read(S* istr, ::IceGrid::AccessDeniedException& v)
1180struct StreamReader<::IceGrid::AllocationException, S>
1182 static void read(S* istr, ::IceGrid::AllocationException& v)
1189struct StreamWriter<::IceGrid::AllocationTimeoutException, S>
1191 static void write(S*, const ::IceGrid::AllocationTimeoutException&)
1197struct StreamReader<::IceGrid::AllocationTimeoutException, S>
1199 static void read(S*, ::IceGrid::AllocationTimeoutException&)
1205struct StreamReader<::IceGrid::PermissionDeniedException, S>
1207 static void read(S* istr, ::IceGrid::PermissionDeniedException& v)
1214struct StreamReader<::IceGrid::ObserverAlreadyRegisteredException, S>
1216 static void read(S* istr, ::IceGrid::ObserverAlreadyRegisteredException& v)
1218 istr->readAll(v.
id);
1223struct StreamReader<::IceGrid::FileNotAvailableException, S>
1225 static void read(S* istr, ::IceGrid::FileNotAvailableException& v)
1247 ApplicationNotExistException() {}
1252 explicit ApplicationNotExistException(const ::std::string& name);
1254#ifdef ICE_CPP11_COMPILER
1255 ApplicationNotExistException(
const ApplicationNotExistException&) =
default;
1256 virtual ~ApplicationNotExistException();
1258 virtual ~ApplicationNotExistException() throw();
1265 virtual ::std::string ice_id()
const;
1270 virtual ApplicationNotExistException* ice_clone()
const;
1274 virtual void ice_throw()
const;
1284 virtual void _writeImpl(::Ice::OutputStream*)
const;
1285 virtual void _readImpl(::Ice::InputStream*);
1301 ServerNotExistException() {}
1306 explicit ServerNotExistException(const ::std::string&
id);
1308#ifdef ICE_CPP11_COMPILER
1309 ServerNotExistException(
const ServerNotExistException&) =
default;
1310 virtual ~ServerNotExistException();
1312 virtual ~ServerNotExistException() throw();
1319 virtual ::std::string ice_id()
const;
1324 virtual ServerNotExistException* ice_clone()
const;
1328 virtual void ice_throw()
const;
1338 virtual void _writeImpl(::Ice::OutputStream*)
const;
1339 virtual void _readImpl(::Ice::InputStream*);
1351 ServerStartException() {}
1357 ServerStartException(const ::std::string&
id, const ::std::string& reason);
1359#ifdef ICE_CPP11_COMPILER
1360 ServerStartException(
const ServerStartException&) =
default;
1361 virtual ~ServerStartException();
1363 virtual ~ServerStartException() throw();
1370 virtual ::std::string ice_id()
const;
1375 virtual ServerStartException* ice_clone()
const;
1379 virtual void ice_throw()
const;
1388 ::std::string reason;
1393 virtual void _writeImpl(::Ice::OutputStream*)
const;
1394 virtual void _readImpl(::Ice::InputStream*);
1406 ServerStopException() {}
1412 ServerStopException(const ::std::string&
id, const ::std::string& reason);
1414#ifdef ICE_CPP11_COMPILER
1415 ServerStopException(
const ServerStopException&) =
default;
1416 virtual ~ServerStopException();
1418 virtual ~ServerStopException() throw();
1425 virtual ::std::string ice_id()
const;
1430 virtual ServerStopException* ice_clone()
const;
1434 virtual void ice_throw()
const;
1443 ::std::string reason;
1448 virtual void _writeImpl(::Ice::OutputStream*)
const;
1449 virtual void _readImpl(::Ice::InputStream*);
1461 AdapterNotExistException() {}
1466 explicit AdapterNotExistException(const ::std::string&
id);
1468#ifdef ICE_CPP11_COMPILER
1469 AdapterNotExistException(
const AdapterNotExistException&) =
default;
1470 virtual ~AdapterNotExistException();
1472 virtual ~AdapterNotExistException() throw();
1479 virtual ::std::string ice_id()
const;
1484 virtual AdapterNotExistException* ice_clone()
const;
1488 virtual void ice_throw()
const;
1498 virtual void _writeImpl(::Ice::OutputStream*)
const;
1499 virtual void _readImpl(::Ice::InputStream*);
1511 ObjectExistsException() {}
1516 explicit ObjectExistsException(const ::Ice::Identity&
id);
1518#ifdef ICE_CPP11_COMPILER
1519 ObjectExistsException(
const ObjectExistsException&) =
default;
1520 virtual ~ObjectExistsException();
1522 virtual ~ObjectExistsException() throw();
1529 virtual ::std::string ice_id()
const;
1534 virtual ObjectExistsException* ice_clone()
const;
1538 virtual void ice_throw()
const;
1548 virtual void _writeImpl(::Ice::OutputStream*)
const;
1549 virtual void _readImpl(::Ice::InputStream*);
1561 ObjectNotRegisteredException() {}
1566 explicit ObjectNotRegisteredException(const ::Ice::Identity&
id);
1568#ifdef ICE_CPP11_COMPILER
1569 ObjectNotRegisteredException(
const ObjectNotRegisteredException&) =
default;
1570 virtual ~ObjectNotRegisteredException();
1572 virtual ~ObjectNotRegisteredException() throw();
1579 virtual ::std::string ice_id()
const;
1584 virtual ObjectNotRegisteredException* ice_clone()
const;
1588 virtual void ice_throw()
const;
1598 virtual void _writeImpl(::Ice::OutputStream*)
const;
1599 virtual void _readImpl(::Ice::InputStream*);
1611 NodeNotExistException() {}
1616 explicit NodeNotExistException(const ::std::string& name);
1618#ifdef ICE_CPP11_COMPILER
1619 NodeNotExistException(
const NodeNotExistException&) =
default;
1620 virtual ~NodeNotExistException();
1622 virtual ~NodeNotExistException() throw();
1629 virtual ::std::string ice_id()
const;
1634 virtual NodeNotExistException* ice_clone()
const;
1638 virtual void ice_throw()
const;
1648 virtual void _writeImpl(::Ice::OutputStream*)
const;
1649 virtual void _readImpl(::Ice::InputStream*);
1661 RegistryNotExistException() {}
1666 explicit RegistryNotExistException(const ::std::string& name);
1668#ifdef ICE_CPP11_COMPILER
1669 RegistryNotExistException(
const RegistryNotExistException&) =
default;
1670 virtual ~RegistryNotExistException();
1672 virtual ~RegistryNotExistException() throw();
1679 virtual ::std::string ice_id()
const;
1684 virtual RegistryNotExistException* ice_clone()
const;
1688 virtual void ice_throw()
const;
1698 virtual void _writeImpl(::Ice::OutputStream*)
const;
1699 virtual void _readImpl(::Ice::InputStream*);
1711 DeploymentException() {}
1716 explicit DeploymentException(const ::std::string& reason);
1718#ifdef ICE_CPP11_COMPILER
1719 DeploymentException(
const DeploymentException&) =
default;
1720 virtual ~DeploymentException();
1722 virtual ~DeploymentException() throw();
1729 virtual ::std::string ice_id()
const;
1734 virtual DeploymentException* ice_clone()
const;
1738 virtual void ice_throw()
const;
1743 ::std::string reason;
1748 virtual void _writeImpl(::Ice::OutputStream*)
const;
1749 virtual void _readImpl(::Ice::InputStream*);
1761 NodeUnreachableException() {}
1767 NodeUnreachableException(const ::std::string& name, const ::std::string& reason);
1769#ifdef ICE_CPP11_COMPILER
1770 NodeUnreachableException(
const NodeUnreachableException&) =
default;
1771 virtual ~NodeUnreachableException();
1773 virtual ~NodeUnreachableException() throw();
1780 virtual ::std::string ice_id()
const;
1785 virtual NodeUnreachableException* ice_clone()
const;
1789 virtual void ice_throw()
const;
1798 ::std::string reason;
1803 virtual void _writeImpl(::Ice::OutputStream*)
const;
1804 virtual void _readImpl(::Ice::InputStream*);
1816 ServerUnreachableException() {}
1822 ServerUnreachableException(const ::std::string& name, const ::std::string& reason);
1824#ifdef ICE_CPP11_COMPILER
1825 ServerUnreachableException(
const ServerUnreachableException&) =
default;
1826 virtual ~ServerUnreachableException();
1828 virtual ~ServerUnreachableException() throw();
1835 virtual ::std::string ice_id()
const;
1840 virtual ServerUnreachableException* ice_clone()
const;
1844 virtual void ice_throw()
const;
1853 ::std::string reason;
1858 virtual void _writeImpl(::Ice::OutputStream*)
const;
1859 virtual void _readImpl(::Ice::InputStream*);
1871 RegistryUnreachableException() {}
1877 RegistryUnreachableException(const ::std::string& name, const ::std::string& reason);
1879#ifdef ICE_CPP11_COMPILER
1880 RegistryUnreachableException(
const RegistryUnreachableException&) =
default;
1881 virtual ~RegistryUnreachableException();
1883 virtual ~RegistryUnreachableException() throw();
1890 virtual ::std::string ice_id()
const;
1895 virtual RegistryUnreachableException* ice_clone()
const;
1899 virtual void ice_throw()
const;
1908 ::std::string reason;
1913 virtual void _writeImpl(::Ice::OutputStream*)
const;
1914 virtual void _readImpl(::Ice::InputStream*);
1927 BadSignalException() {}
1932 explicit BadSignalException(const ::std::string& reason);
1934#ifdef ICE_CPP11_COMPILER
1935 BadSignalException(
const BadSignalException&) =
default;
1936 virtual ~BadSignalException();
1938 virtual ~BadSignalException() throw();
1945 virtual ::std::string ice_id()
const;
1950 virtual BadSignalException* ice_clone()
const;
1954 virtual void ice_throw()
const;
1959 ::std::string reason;
1964 virtual void _writeImpl(::Ice::OutputStream*)
const;
1965 virtual void _readImpl(::Ice::InputStream*);
1982 explicit PatchException(const ::Ice::StringSeq& reasons);
1984#ifdef ICE_CPP11_COMPILER
1985 PatchException(
const PatchException&) =
default;
1986 virtual ~PatchException();
1988 virtual ~PatchException() throw();
1995 virtual ::std::string ice_id()
const;
2000 virtual PatchException* ice_clone()
const;
2004 virtual void ice_throw()
const;
2014 virtual void _writeImpl(::Ice::OutputStream*)
const;
2015 virtual void _readImpl(::Ice::InputStream*);
2028 AccessDeniedException() {}
2033 explicit AccessDeniedException(const ::std::string& lockUserId);
2035#ifdef ICE_CPP11_COMPILER
2036 AccessDeniedException(
const AccessDeniedException&) =
default;
2037 virtual ~AccessDeniedException();
2039 virtual ~AccessDeniedException() throw();
2046 virtual ::std::string ice_id()
const;
2051 virtual AccessDeniedException* ice_clone()
const;
2055 virtual void ice_throw()
const;
2060 ::std::string lockUserId;
2065 virtual void _writeImpl(::Ice::OutputStream*)
const;
2066 virtual void _readImpl(::Ice::InputStream*);
2078 AllocationException() {}
2083 explicit AllocationException(const ::std::string& reason);
2085#ifdef ICE_CPP11_COMPILER
2086 AllocationException(
const AllocationException&) =
default;
2087 virtual ~AllocationException();
2089 virtual ~AllocationException() throw();
2096 virtual ::std::string ice_id()
const;
2101 virtual AllocationException* ice_clone()
const;
2105 virtual void ice_throw()
const;
2110 ::std::string reason;
2115 virtual void _writeImpl(::Ice::OutputStream*)
const;
2116 virtual void _readImpl(::Ice::InputStream*);
2129 AllocationTimeoutException() {}
2134 explicit AllocationTimeoutException(const ::std::string& reason);
2136#ifdef ICE_CPP11_COMPILER
2137 AllocationTimeoutException(
const AllocationTimeoutException&) =
default;
2138 virtual ~AllocationTimeoutException();
2140 virtual ~AllocationTimeoutException() throw();
2147 virtual ::std::string ice_id()
const;
2152 virtual AllocationTimeoutException* ice_clone()
const;
2156 virtual void ice_throw()
const;
2161 virtual void _writeImpl(::Ice::OutputStream*)
const;
2162 virtual void _readImpl(::Ice::InputStream*);
2175 PermissionDeniedException() {}
2180 explicit PermissionDeniedException(const ::std::string& reason);
2182#ifdef ICE_CPP11_COMPILER
2183 PermissionDeniedException(
const PermissionDeniedException&) =
default;
2184 virtual ~PermissionDeniedException();
2186 virtual ~PermissionDeniedException() throw();
2193 virtual ::std::string ice_id()
const;
2198 virtual PermissionDeniedException* ice_clone()
const;
2202 virtual void ice_throw()
const;
2207 ::std::string reason;
2212 virtual void _writeImpl(::Ice::OutputStream*)
const;
2213 virtual void _readImpl(::Ice::InputStream*);
2228 ObserverAlreadyRegisteredException() {}
2233 explicit ObserverAlreadyRegisteredException(const ::Ice::Identity&
id);
2235#ifdef ICE_CPP11_COMPILER
2236 ObserverAlreadyRegisteredException(
const ObserverAlreadyRegisteredException&) =
default;
2237 virtual ~ObserverAlreadyRegisteredException();
2239 virtual ~ObserverAlreadyRegisteredException() throw();
2246 virtual ::std::string ice_id()
const;
2251 virtual ObserverAlreadyRegisteredException* ice_clone()
const;
2255 virtual void ice_throw()
const;
2265 virtual void _writeImpl(::Ice::OutputStream*)
const;
2266 virtual void _readImpl(::Ice::InputStream*);
2284 FileNotAvailableException() {}
2289 explicit FileNotAvailableException(const ::std::string& reason);
2291#ifdef ICE_CPP11_COMPILER
2292 FileNotAvailableException(
const FileNotAvailableException&) =
default;
2293 virtual ~FileNotAvailableException();
2295 virtual ~FileNotAvailableException() throw();
2302 virtual ::std::string ice_id()
const;
2307 virtual FileNotAvailableException* ice_clone()
const;
2311 virtual void ice_throw()
const;
2316 ::std::string reason;
2321 virtual void _writeImpl(::Ice::OutputStream*)
const;
2322 virtual void _readImpl(::Ice::InputStream*);
2333struct StreamableTraits< ::IceGrid::ApplicationNotExistException>
2335 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2339struct StreamWriter< ::IceGrid::ApplicationNotExistException, S>
2341 static void write(S* ostr, const ::IceGrid::ApplicationNotExistException& v)
2343 ostr->write(v.name);
2348struct StreamReader< ::IceGrid::ApplicationNotExistException, S>
2350 static void read(S* istr, ::IceGrid::ApplicationNotExistException& v)
2357struct StreamableTraits< ::IceGrid::ServerNotExistException>
2359 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2363struct StreamWriter< ::IceGrid::ServerNotExistException, S>
2365 static void write(S* ostr, const ::IceGrid::ServerNotExistException& v)
2372struct StreamReader< ::IceGrid::ServerNotExistException, S>
2374 static void read(S* istr, ::IceGrid::ServerNotExistException& v)
2381struct StreamableTraits< ::IceGrid::ServerStartException>
2383 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2387struct StreamWriter< ::IceGrid::ServerStartException, S>
2389 static void write(S* ostr, const ::IceGrid::ServerStartException& v)
2392 ostr->write(v.reason);
2397struct StreamReader< ::IceGrid::ServerStartException, S>
2399 static void read(S* istr, ::IceGrid::ServerStartException& v)
2407struct StreamableTraits< ::IceGrid::ServerStopException>
2409 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2413struct StreamWriter< ::IceGrid::ServerStopException, S>
2415 static void write(S* ostr, const ::IceGrid::ServerStopException& v)
2418 ostr->write(v.reason);
2423struct StreamReader< ::IceGrid::ServerStopException, S>
2425 static void read(S* istr, ::IceGrid::ServerStopException& v)
2433struct StreamableTraits< ::IceGrid::AdapterNotExistException>
2435 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2439struct StreamWriter< ::IceGrid::AdapterNotExistException, S>
2441 static void write(S* ostr, const ::IceGrid::AdapterNotExistException& v)
2448struct StreamReader< ::IceGrid::AdapterNotExistException, S>
2450 static void read(S* istr, ::IceGrid::AdapterNotExistException& v)
2457struct StreamableTraits< ::IceGrid::ObjectExistsException>
2459 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2463struct StreamWriter< ::IceGrid::ObjectExistsException, S>
2465 static void write(S* ostr, const ::IceGrid::ObjectExistsException& v)
2472struct StreamReader< ::IceGrid::ObjectExistsException, S>
2474 static void read(S* istr, ::IceGrid::ObjectExistsException& v)
2481struct StreamableTraits< ::IceGrid::ObjectNotRegisteredException>
2483 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2487struct StreamWriter< ::IceGrid::ObjectNotRegisteredException, S>
2489 static void write(S* ostr, const ::IceGrid::ObjectNotRegisteredException& v)
2496struct StreamReader< ::IceGrid::ObjectNotRegisteredException, S>
2498 static void read(S* istr, ::IceGrid::ObjectNotRegisteredException& v)
2505struct StreamableTraits< ::IceGrid::NodeNotExistException>
2507 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2511struct StreamWriter< ::IceGrid::NodeNotExistException, S>
2513 static void write(S* ostr, const ::IceGrid::NodeNotExistException& v)
2515 ostr->write(v.name);
2520struct StreamReader< ::IceGrid::NodeNotExistException, S>
2522 static void read(S* istr, ::IceGrid::NodeNotExistException& v)
2529struct StreamableTraits< ::IceGrid::RegistryNotExistException>
2531 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2535struct StreamWriter< ::IceGrid::RegistryNotExistException, S>
2537 static void write(S* ostr, const ::IceGrid::RegistryNotExistException& v)
2539 ostr->write(v.name);
2544struct StreamReader< ::IceGrid::RegistryNotExistException, S>
2546 static void read(S* istr, ::IceGrid::RegistryNotExistException& v)
2553struct StreamableTraits< ::IceGrid::DeploymentException>
2555 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2559struct StreamWriter< ::IceGrid::DeploymentException, S>
2561 static void write(S* ostr, const ::IceGrid::DeploymentException& v)
2563 ostr->write(v.reason);
2568struct StreamReader< ::IceGrid::DeploymentException, S>
2570 static void read(S* istr, ::IceGrid::DeploymentException& v)
2577struct StreamableTraits< ::IceGrid::NodeUnreachableException>
2579 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2583struct StreamWriter< ::IceGrid::NodeUnreachableException, S>
2585 static void write(S* ostr, const ::IceGrid::NodeUnreachableException& v)
2587 ostr->write(v.name);
2588 ostr->write(v.reason);
2593struct StreamReader< ::IceGrid::NodeUnreachableException, S>
2595 static void read(S* istr, ::IceGrid::NodeUnreachableException& v)
2603struct StreamableTraits< ::IceGrid::ServerUnreachableException>
2605 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2609struct StreamWriter< ::IceGrid::ServerUnreachableException, S>
2611 static void write(S* ostr, const ::IceGrid::ServerUnreachableException& v)
2613 ostr->write(v.name);
2614 ostr->write(v.reason);
2619struct StreamReader< ::IceGrid::ServerUnreachableException, S>
2621 static void read(S* istr, ::IceGrid::ServerUnreachableException& v)
2629struct StreamableTraits< ::IceGrid::RegistryUnreachableException>
2631 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2635struct StreamWriter< ::IceGrid::RegistryUnreachableException, S>
2637 static void write(S* ostr, const ::IceGrid::RegistryUnreachableException& v)
2639 ostr->write(v.name);
2640 ostr->write(v.reason);
2645struct StreamReader< ::IceGrid::RegistryUnreachableException, S>
2647 static void read(S* istr, ::IceGrid::RegistryUnreachableException& v)
2655struct StreamableTraits< ::IceGrid::BadSignalException>
2657 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2661struct StreamWriter< ::IceGrid::BadSignalException, S>
2663 static void write(S* ostr, const ::IceGrid::BadSignalException& v)
2665 ostr->write(v.reason);
2670struct StreamReader< ::IceGrid::BadSignalException, S>
2672 static void read(S* istr, ::IceGrid::BadSignalException& v)
2679struct StreamableTraits< ::IceGrid::PatchException>
2681 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2685struct StreamWriter< ::IceGrid::PatchException, S>
2687 static void write(S* ostr, const ::IceGrid::PatchException& v)
2689 ostr->write(v.reasons);
2694struct StreamReader< ::IceGrid::PatchException, S>
2696 static void read(S* istr, ::IceGrid::PatchException& v)
2703struct StreamableTraits< ::IceGrid::AccessDeniedException>
2705 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2709struct StreamWriter< ::IceGrid::AccessDeniedException, S>
2711 static void write(S* ostr, const ::IceGrid::AccessDeniedException& v)
2713 ostr->write(v.lockUserId);
2718struct StreamReader< ::IceGrid::AccessDeniedException, S>
2720 static void read(S* istr, ::IceGrid::AccessDeniedException& v)
2727struct StreamableTraits< ::IceGrid::AllocationException>
2729 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2733struct StreamWriter< ::IceGrid::AllocationException, S>
2735 static void write(S* ostr, const ::IceGrid::AllocationException& v)
2737 ostr->write(v.reason);
2742struct StreamReader< ::IceGrid::AllocationException, S>
2744 static void read(S* istr, ::IceGrid::AllocationException& v)
2751struct StreamableTraits< ::IceGrid::AllocationTimeoutException>
2753 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2757struct StreamableTraits< ::IceGrid::PermissionDeniedException>
2759 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2763struct StreamWriter< ::IceGrid::PermissionDeniedException, S>
2765 static void write(S* ostr, const ::IceGrid::PermissionDeniedException& v)
2767 ostr->write(v.reason);
2772struct StreamReader< ::IceGrid::PermissionDeniedException, S>
2774 static void read(S* istr, ::IceGrid::PermissionDeniedException& v)
2781struct StreamableTraits< ::IceGrid::ObserverAlreadyRegisteredException>
2783 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2787struct StreamWriter< ::IceGrid::ObserverAlreadyRegisteredException, S>
2789 static void write(S* ostr, const ::IceGrid::ObserverAlreadyRegisteredException& v)
2796struct StreamReader< ::IceGrid::ObserverAlreadyRegisteredException, S>
2798 static void read(S* istr, ::IceGrid::ObserverAlreadyRegisteredException& v)
2805struct StreamableTraits< ::IceGrid::FileNotAvailableException>
2807 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2811struct StreamWriter< ::IceGrid::FileNotAvailableException, S>
2813 static void write(S* ostr, const ::IceGrid::FileNotAvailableException& v)
2815 ostr->write(v.reason);
2820struct StreamReader< ::IceGrid::FileNotAvailableException, S>
2822 static void read(S* istr, ::IceGrid::FileNotAvailableException& v)
#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
virtual ~AccessDeniedException()
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
AccessDeniedException()=default
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
AdapterNotExistException()=default
static const ::std::string & ice_staticId()
Obtains the Slice type ID of this exception.
virtual ~AdapterNotExistException()
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()=default
AllocationException(const AllocationException &)=default
virtual ~AllocationException()
::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
virtual ~AllocationTimeoutException()
AllocationTimeoutException(const AllocationTimeoutException &)=default
AllocationTimeoutException()=default
This exception is raised if an application does not exist.
Definition Exception.h:68
virtual ~ApplicationNotExistException()
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()=default
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
BadSignalException()=default
::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.
virtual ~BadSignalException()
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()=default
virtual ~DeploymentException()
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
virtual ~FileNotAvailableException()
FileNotAvailableException()=default
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
NodeNotExistException()=default
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.
virtual ~NodeNotExistException()
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.
NodeUnreachableException()=default
virtual ~NodeUnreachableException()
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()=default
virtual ~ObjectExistsException()
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
ObjectNotRegisteredException()=default
virtual ~ObjectNotRegisteredException()
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()=default
virtual ~ObserverAlreadyRegisteredException()
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
virtual ~PatchException()
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
PermissionDeniedException()=default
virtual ~PermissionDeniedException()
This exception is raised if a registry does not exist.
Definition Exception.h:436
virtual ~RegistryNotExistException()
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
RegistryNotExistException()=default
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()=default
RegistryUnreachableException(const RegistryUnreachableException &)=default
virtual ~RegistryUnreachableException()
This exception is raised if a server does not exist.
Definition Exception.h:116
ServerNotExistException()=default
static const ::std::string & ice_staticId()
Obtains the Slice type ID of this exception.
virtual ~ServerNotExistException()
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
virtual ~ServerStartException()
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.
ServerStartException()=default
::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
virtual ~ServerStopException()
::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.
ServerStopException()=default
::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
ServerUnreachableException()=default
virtual ~ServerUnreachableException()
::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 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