java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.zeroc.Ice.LocalException
com.zeroc.Ice.AlreadyRegisteredException
- All Implemented Interfaces:
Serializable
The exception that is thrown when you attempt to register an object more than once with the Ice runtime.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal StringThe ID (or name) of the object that is already registered.final StringThe kind of object that is already registered: "servant", "facet", "object", "default servant", "servant locator", "plugin", "object adapter", "object adapter with router", "replica group". -
Constructor Summary
ConstructorsConstructorDescriptionAlreadyRegisteredException(String kindOfObject, String id) Constructs an AlreadyRegisteredException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
kindOfObject
The kind of object that is already registered: "servant", "facet", "object", "default servant", "servant locator", "plugin", "object adapter", "object adapter with router", "replica group". -
id
The ID (or name) of the object that is already registered.
-
-
Constructor Details
-
AlreadyRegisteredException
Constructs an AlreadyRegisteredException.- Parameters:
kindOfObject- the kind of object that is already registeredid- the ID (or name) of the object that is already registered
-
-
Method Details
-
ice_id
Description copied from class:LocalExceptionReturns the type ID of this exception.- Overrides:
ice_idin classLocalException- Returns:
- the type ID of this exception
-