Ice.AlreadyRegisteredException

class Ice.AlreadyRegisteredException(kindOfObject: str, id: str, msg: str)

Bases: LocalException

An attempt was made to register something more than once with the Ice run time. This exception is raised if an attempt is made to register a servant, servant locator, facet, plug-in, or object adapter more than once for the same ID.

Parameters:
property id

The ID (or name) of the object that is already registered.

Returns:

The ID of the registered object.

Return type:

str

property kindOfObject

The kind of object that could not be removed.

This property can have one of the following values:

  • “servant”

  • “facet”

  • “object”

  • “default servant”

  • “servant locator”

  • “plugin”

  • “object adapter”

  • “object adapter with router”

  • “replica group”

Returns:

The kind of object that could not be removed.

Return type:

str