Package com.zeroc.Ice

Class AlreadyRegisteredException

All Implemented Interfaces:
Serializable

public final class AlreadyRegisteredException extends LocalException
The exception that is thrown when you attempt to register an object more than once with the Ice runtime.
See Also:
  • Field Details

    • kindOfObject

      public final String kindOfObject
      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".
    • id

      public final String id
      The ID (or name) of the object that is registered already.
  • Constructor Details

    • AlreadyRegisteredException

      public AlreadyRegisteredException(String kindOfObject, String id)
      Constructs an AlreadyRegisteredException with the specified kind of object and ID.
      Parameters:
      kindOfObject - the kind of object
      id - the ID of the object
  • Method Details

    • ice_id

      public String ice_id()
      Description copied from class: LocalException
      Returns the type ID of this exception.
      Overrides:
      ice_id in class LocalException
      Returns:
      the type ID of this exception