7#ifndef IceGrid_Exception_h_
8#define IceGrid_Exception_h_
12#include <Ice/Identity.h>
13#include <IceGrid/Config.h>
15#ifndef ICE_DISABLE_VERSION
16# if ICE_INT_VERSION != 30850
17# error Ice version mismatch: an exact match is required for beta generated code
22# if defined(ICEGRID_API_EXPORTS)
23# define ICEGRID_API ICE_DECLSPEC_EXPORT
25# define ICEGRID_API ICE_DECLSPEC_IMPORT
57 [[nodiscard]] std::tuple<const std::string&>
ice_tuple()
const
59 return std::tie(
name);
67 [[nodiscard]] const
char*
ice_id() const noexcept override;
76 void _writeImpl(
Ice::OutputStream*) const override;
79 void _readImpl(
Ice::InputStream*) override;
102 [[nodiscard]] std::tuple<const std::string&>
ice_tuple()
const
112 [[nodiscard]] const
char*
ice_id() const noexcept override;
121 void _writeImpl(
Ice::OutputStream*) const override;
124 void _readImpl(
Ice::InputStream*) override;
149 [[nodiscard]] std::tuple<const std::string&, const std::string&>
ice_tuple()
const
151 return std::tie(
id,
reason);
159 [[nodiscard]] const
char*
ice_id() const noexcept override;
171 void _writeImpl(
Ice::OutputStream*) const override;
174 void _readImpl(
Ice::InputStream*) override;
199 [[nodiscard]] std::tuple<const std::string&, const std::string&>
ice_tuple()
const
201 return std::tie(
id,
reason);
209 [[nodiscard]] const
char*
ice_id() const noexcept override;
221 void _writeImpl(
Ice::OutputStream*) const override;
224 void _readImpl(
Ice::InputStream*) override;
247 [[nodiscard]] std::tuple<const std::string&>
ice_tuple()
const
257 [[nodiscard]] const
char*
ice_id() const noexcept override;
266 void _writeImpl(
Ice::OutputStream*) const override;
269 void _readImpl(
Ice::InputStream*) override;
292 [[nodiscard]] std::tuple<const std::string&>
ice_tuple()
const
294 return std::tie(
name);
302 [[nodiscard]] const
char*
ice_id() const noexcept override;
311 void _writeImpl(
Ice::OutputStream*) const override;
314 void _readImpl(
Ice::InputStream*) override;
337 [[nodiscard]] std::tuple<const std::string&>
ice_tuple()
const
339 return std::tie(
name);
347 [[nodiscard]] const
char*
ice_id() const noexcept override;
356 void _writeImpl(
Ice::OutputStream*) const override;
359 void _readImpl(
Ice::InputStream*) override;
382 [[nodiscard]] std::tuple<const std::string&>
ice_tuple()
const
392 [[nodiscard]] const
char*
ice_id() const noexcept override;
401 void _writeImpl(
Ice::OutputStream*) const override;
404 void _readImpl(
Ice::InputStream*) override;
418 [[nodiscard]] const
char*
ice_id() const noexcept override;
424 void _writeImpl(
Ice::OutputStream*) const override;
427 void _readImpl(
Ice::InputStream*) override;
450 [[nodiscard]] std::tuple<const ::Ice::Identity&>
ice_tuple()
const
460 [[nodiscard]] const
char*
ice_id() const noexcept override;
469 void _writeImpl(
Ice::OutputStream*) const override;
472 void _readImpl(
Ice::InputStream*) override;
495 [[nodiscard]] std::tuple<const ::Ice::Identity&>
ice_tuple()
const
505 [[nodiscard]] const
char*
ice_id() const noexcept override;
514 void _writeImpl(
Ice::OutputStream*) const override;
517 void _readImpl(
Ice::InputStream*) override;
523#include <Ice/PopDisableWarnings.h>
AdapterNotExistException(const AdapterNotExistException &) noexcept=default
Copy constructor.
void ice_throw() const override
Throws this exception.
AdapterNotExistException() noexcept=default
Default constructor.
std::tuple< const std::string & > ice_tuple() const
Creates a tuple with all the fields of this exception.
const char * ice_id() const noexcept override
Returns the type ID of this exception.
static const char * ice_staticId() noexcept
Gets the type ID of the associated Slice exception.
void ice_printFields(std::ostream &os) const override
Outputs the name and value of each field of this instance, including inherited fields,...
std::tuple< const std::string & > ice_tuple() const
Creates a tuple with all the fields of this exception.
std::string reason
The reason why the object couldn't be allocated.
static const char * ice_staticId() noexcept
Gets the type ID of the associated Slice exception.
const char * ice_id() const noexcept override
Returns the type ID of this exception.
AllocationException(const AllocationException &) noexcept=default
Copy constructor.
void ice_throw() const override
Throws this exception.
AllocationException() noexcept=default
Default constructor.
void ice_printFields(std::ostream &os) const override
Outputs the name and value of each field of this instance, including inherited fields,...
const char * ice_id() const noexcept override
Returns the type ID of this exception.
void ice_throw() const override
Throws this exception.
static const char * ice_staticId() noexcept
Gets the type ID of the associated Slice exception.
AllocationException() noexcept=default
Default constructor.
The exception that is thrown when the request to allocate an object times out.
void ice_throw() const override
Throws this exception.
static const char * ice_staticId() noexcept
Gets the type ID of the associated Slice exception.
void ice_printFields(std::ostream &os) const override
Outputs the name and value of each field of this instance, including inherited fields,...
std::string name
The name of the application.
std::tuple< const std::string & > ice_tuple() const
Creates a tuple with all the fields of this exception.
const char * ice_id() const noexcept override
Returns the type ID of this exception.
ApplicationNotExistException(const ApplicationNotExistException &) noexcept=default
Copy constructor.
ApplicationNotExistException() noexcept=default
Default constructor.
static const char * ice_staticId() noexcept
Gets the type ID of the associated Slice exception.
void ice_throw() const override
Throws this exception.
const char * ice_id() const noexcept override
Returns the type ID of this exception.
std::tuple< const std::string & > ice_tuple() const
Creates a tuple with all the fields of this exception.
std::string name
The node name.
NodeNotExistException() noexcept=default
Default constructor.
NodeNotExistException(const NodeNotExistException &) noexcept=default
Copy constructor.
void ice_printFields(std::ostream &os) const override
Outputs the name and value of each field of this instance, including inherited fields,...
std::tuple< const ::Ice::Identity & > ice_tuple() const
Creates a tuple with all the fields of this exception.
const char * ice_id() const noexcept override
Returns the type ID of this exception.
ObjectExistsException(const ObjectExistsException &) noexcept=default
Copy constructor.
static const char * ice_staticId() noexcept
Gets the type ID of the associated Slice exception.
void ice_printFields(std::ostream &os) const override
Outputs the name and value of each field of this instance, including inherited fields,...
ObjectExistsException() noexcept=default
Default constructor.
void ice_throw() const override
Throws this exception.
ObjectNotRegisteredException() noexcept=default
Default constructor.
void ice_printFields(std::ostream &os) const override
Outputs the name and value of each field of this instance, including inherited fields,...
ObjectNotRegisteredException(const ObjectNotRegisteredException &) noexcept=default
Copy constructor.
std::tuple< const ::Ice::Identity & > ice_tuple() const
Creates a tuple with all the fields of this exception.
static const char * ice_staticId() noexcept
Gets the type ID of the associated Slice exception.
void ice_throw() const override
Throws this exception.
const char * ice_id() const noexcept override
Returns the type ID of this exception.
const char * ice_id() const noexcept override
Returns the type ID of this exception.
void ice_throw() const override
Throws this exception.
void ice_printFields(std::ostream &os) const override
Outputs the name and value of each field of this instance, including inherited fields,...
RegistryNotExistException(const RegistryNotExistException &) noexcept=default
Copy constructor.
std::string name
The registry name.
static const char * ice_staticId() noexcept
Gets the type ID of the associated Slice exception.
std::tuple< const std::string & > ice_tuple() const
Creates a tuple with all the fields of this exception.
RegistryNotExistException() noexcept=default
Default constructor.
static const char * ice_staticId() noexcept
Gets the type ID of the associated Slice exception.
const char * ice_id() const noexcept override
Returns the type ID of this exception.
void ice_printFields(std::ostream &os) const override
Outputs the name and value of each field of this instance, including inherited fields,...
void ice_throw() const override
Throws this exception.
ServerNotExistException(const ServerNotExistException &) noexcept=default
Copy constructor.
ServerNotExistException() noexcept=default
Default constructor.
std::tuple< const std::string & > ice_tuple() const
Creates a tuple with all the fields of this exception.
void ice_throw() const override
Throws this exception.
const char * ice_id() const noexcept override
Returns the type ID of this exception.
static const char * ice_staticId() noexcept
Gets the type ID of the associated Slice exception.
void ice_printFields(std::ostream &os) const override
Outputs the name and value of each field of this instance, including inherited fields,...
ServerStartException() noexcept=default
Default constructor.
ServerStartException(const ServerStartException &) noexcept=default
Copy constructor.
std::string reason
The reason for the failure.
std::tuple< const std::string &, const std::string & > ice_tuple() const
Creates a tuple with all the fields of this exception.
ServerStopException() noexcept=default
Default constructor.
static const char * ice_staticId() noexcept
Gets the type ID of the associated Slice exception.
std::tuple< const std::string &, const std::string & > ice_tuple() const
Creates a tuple with all the fields of this exception.
void ice_throw() const override
Throws this exception.
const char * ice_id() const noexcept override
Returns the type ID of this exception.
std::string reason
The reason for the failure.
ServerStopException(const ServerStopException &) noexcept=default
Copy constructor.
void ice_printFields(std::ostream &os) const override
Outputs the name and value of each field of this instance, including inherited fields,...
Abstract base class for all Ice exceptions defined in Slice.
Deploy and manage Ice servers.