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 String
The ID (or name) of the object that is registered already.final String
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". -
Constructor Summary
ConstructorsConstructorDescriptionAlreadyRegisteredException
(String kindOfObject, String id) Constructs an AlreadyRegisteredException with the specified kind of object and ID. -
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 could not be removed: "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 registered already.
-
-
Constructor Details
-
AlreadyRegisteredException
Constructs an AlreadyRegisteredException with the specified kind of object and ID.- Parameters:
kindOfObject
- the kind of objectid
- the ID of the object
-
-
Method Details
-
ice_id
Description copied from class:LocalException
Returns the type ID of this exception.- Overrides:
ice_id
in classLocalException
- Returns:
- the type ID of this exception
-