Exception: Ice::NotRegisteredException

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

Constant Summary collapse

ICE_TYPE =
T_NotRegisteredException

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Exception

#ice_name, #inspect

Constructor Details

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

Returns a new instance of NotRegisteredException.



100
101
102
103
# File 'lib/Ice/LocalException.rb', line 100

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

Instance Attribute Details

#idObject

Returns the value of attribute id.



109
110
111
# File 'lib/Ice/LocalException.rb', line 109

def id
  @id
end

#kindOfObjectObject

Returns the value of attribute kindOfObject.



109
110
111
# File 'lib/Ice/LocalException.rb', line 109

def kindOfObject
  @kindOfObject
end

Instance Method Details

#to_sObject



105
106
107
# File 'lib/Ice/LocalException.rb', line 105

def to_s
    'Ice::NotRegisteredException'
end