Table of Contents

Class AlreadyRegisteredException

Namespace
Ice
Assembly
Ice.dll

An attempt was made to register something more than once with the Ice runtime. This exception is raised if an attempt is made to register a servant, servant locator, facet, object adapter (etc.) more than once for the same ID.

public sealed class AlreadyRegisteredException : LocalException, ISerializable
Inheritance
AlreadyRegisteredException
Implements
Inherited Members

Constructors

AlreadyRegisteredException(string, string)

Initializes a new instance of the AlreadyRegisteredException class.

public AlreadyRegisteredException(string kindOfObject, string id)

Parameters

kindOfObject string

The kind of object that was already registered.

id string

The ID or name of the object that was already registered.

Properties

id

Gets the ID or name of the object that was already registered.

public string id { get; }

Property Value

string

kindOfObject

Gets the kind of object that was already registered.

public string kindOfObject { get; }

Property Value

string

Methods

ice_id()

Returns the type ID of this exception. This corresponds to the Slice type ID for Slice-defined exceptions, and to a fully scoped name for other exceptions.

public override string ice_id()

Returns

string

The type ID of this exception.