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

The exception that is thrown when an observer is already registered with the registry. More...

#include <IceGrid/IceGrid.h>

Inheritance diagram for IceGrid::ObserverAlreadyRegisteredException:

Public Member Functions

 ObserverAlreadyRegisteredException () noexcept=default
 Default constructor.
 ObserverAlreadyRegisteredException (::Ice::Identity id) noexcept
 One-shot constructor to initialize all data members.
 ObserverAlreadyRegisteredException (const ObserverAlreadyRegisteredException &) noexcept=default
 Copy constructor.
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 ::Ice::Identity & > 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

::Ice::Identity id
 The identity of the observer.

Detailed Description

The exception that is thrown when an observer is already registered with the registry.

Remarks
The Slice compiler generated this exception class from Slice exception IceGrid::ObserverAlreadyRegisteredException.
See also
AdminSessionPrx::setObservers
AdminSessionPrx::setObserversByIdentity

Definition at line 3546 of file Admin.h.


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