Package com.zeroc.Ice

Class AlreadyRegisteredException

All Implemented Interfaces:
Serializable, Cloneable

public class AlreadyRegisteredException extends 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, value factory, plug-in, object adapter, object, or user exception factory more than once for the same ID.
See Also:
  • Field Details

    • kindOfObject

      public String kindOfObject
      The kind of object that could not be removed: "servant", "facet", "object", "default servant", "servant locator", "value factory", "plugin", "object adapter", "object adapter with router", "replica group".
    • id

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

    • AlreadyRegisteredException

      public AlreadyRegisteredException()
    • AlreadyRegisteredException

      public AlreadyRegisteredException(Throwable cause)
    • AlreadyRegisteredException

      public AlreadyRegisteredException(String kindOfObject, String id)
    • AlreadyRegisteredException

      public AlreadyRegisteredException(String kindOfObject, String id, Throwable cause)
  • Method Details

    • ice_id

      public String ice_id()
      Description copied from class: Exception
      Returns the type id of this exception.
      Specified by:
      ice_id in class Exception
      Returns:
      The type id of this exception.