Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches
IceGrid::ServerUnreachableException Class Reference

The exception that is thrown when IceGrid cannot reach a server. More...

#include <IceGrid/IceGrid.h>

Inheritance diagram for IceGrid::ServerUnreachableException:

Public Member Functions

 ServerUnreachableException () noexcept=default
 Default constructor.
 ServerUnreachableException (const ServerUnreachableException &) noexcept=default
 Copy constructor.
 ServerUnreachableException (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.
Exceptionoperator= (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 id of the server that is not reachable.
std::string reason
 The reason why the server couldn't be reached.

Detailed Description

The exception that is thrown when IceGrid cannot reach a server.

Definition at line 550 of file Exception.h.


The documentation for this class was generated from the following file: