The exception that is thrown when IceGrid cannot reach a registry. More...
#include <IceGrid/IceGrid.h>
Public Member Functions | |
RegistryUnreachableException () noexcept=default | |
Default constructor. | |
RegistryUnreachableException (const RegistryUnreachableException &) noexcept=default | |
Copy constructor. | |
RegistryUnreachableException (std::string name, std::string reason) noexcept | |
One-shot constructor to initialize all data members. | |
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, to the stream. | |
void | ice_throw () const override |
Throws this exception. | |
std::tuple< const std::string &, const std::string & > | ice_tuple () const |
Creates a tuple with all the fields of this exception. | |
Public Member Functions inherited from Ice::UserException | |
void | ice_print (std::ostream &os) const override |
Outputs a description of this exception to a stream. | |
const char * | what () const noexcept final |
Gets the Slice type ID of this user exception. | |
Public Member Functions inherited from Ice::Exception | |
Exception () noexcept=default | |
Default constructor. | |
Exception (const Exception &other) noexcept=default | |
Copy constructor. | |
Exception & | operator= (const Exception &rhs) noexcept=default |
Copy assignment operator. |
Static Public Member Functions | |
static const char * | ice_staticId () noexcept |
Gets the type ID of the associated Slice exception. |
Public Attributes | |
std::string | name |
The name of the registry that is not reachable. | |
std::string | reason |
The reason why the registry couldn't be reached. |
The exception that is thrown when IceGrid cannot reach a registry.
Definition at line 600 of file Exception.h.