Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches
Ice::AlreadyRegisteredException Class Referencefinal

The exception that is thrown when you attempt to register an object more than once with the Ice runtime. More...

#include <Ice/Ice.h>

Inheritance diagram for Ice::AlreadyRegisteredException:

Public Member Functions

 AlreadyRegisteredException (const char *file, int line, std::string kindOfObject, std::string id)
 Constructs a AlreadyRegisteredException.
const char * ice_id () const noexcept final
 Returns the type ID of this exception.
const std::string & id () const noexcept
 Gets the ID (or name) of the object that is registered already.
const std::string & kindOfObject () const noexcept
 Gets the kind of object that could not be removed: "servant", "facet", "object", "default servant", "servant locator", "plugin", "object adapter", "object adapter with router", "replica group".
Public Member Functions inherited from Ice::LocalException
 LocalException (const char *file, int line, std::string message)
 Constructs a local exception.
const char * ice_file () const noexcept
 Gets the name of the file where this exception was constructed.
const char * ice_id () const noexcept override
 Returns the type ID of this exception.
int ice_line () const noexcept
 Gets the line number where this exception was constructed.
void ice_print (std::ostream &os) const final
 Outputs a description of this exception to a stream.
std::string ice_stackTrace () const
 Gets the stack trace at the point this exception was constructed.
const char * what () const noexcept final
 Gets the error message of this local Ice 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.

Additional Inherited Members

Static Public Member Functions inherited from Ice::LocalException
static void ice_enableStackTraceCollection ()
 Enables the collection of stack traces for exceptions.

Detailed Description

The exception that is thrown when you attempt to register an object more than once with the Ice runtime.

Definition at line 525 of file LocalExceptions.h.


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