Exception: Ice::AlreadyRegisteredException

Inherits:
LocalException show all
Defined in:
lib/Ice/LocalException.rb

Constant Summary collapse

ICE_TYPE =
T_AlreadyRegisteredException

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Exception

#ice_name, #inspect

Constructor Details

#initialize(kindOfObject = '', id = '') ⇒ AlreadyRegisteredException

Returns a new instance of AlreadyRegisteredException.



79
80
81
82
# File 'lib/Ice/LocalException.rb', line 79

def initialize(kindOfObject='', id='')
    @kindOfObject = kindOfObject
    @id = id
end

Instance Attribute Details

#idObject

Returns the value of attribute id.



88
89
90
# File 'lib/Ice/LocalException.rb', line 88

def id
  @id
end

#kindOfObjectObject

Returns the value of attribute kindOfObject.



88
89
90
# File 'lib/Ice/LocalException.rb', line 88

def kindOfObject
  @kindOfObject
end

Instance Method Details

#to_sObject



84
85
86
# File 'lib/Ice/LocalException.rb', line 84

def to_s
    'Ice::AlreadyRegisteredException'
end