Exception: IceGrid::NodeUnreachableException

Inherits:
Ice::UserException show all
Defined in:
lib/IceGrid/Exception.rb

Constant Summary collapse

ICE_TYPE =
T_NodeUnreachableException

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Ice::Exception

#ice_name, #inspect

Constructor Details

#initialize(name = '', reason = '') ⇒ NodeUnreachableException

Returns a new instance of NodeUnreachableException.



208
209
210
211
# File 'lib/IceGrid/Exception.rb', line 208

def initialize(name='', reason='')
    @name = name
    @reason = reason
end

Instance Attribute Details

#nameObject

Returns the value of attribute name.



217
218
219
# File 'lib/IceGrid/Exception.rb', line 217

def name
  @name
end

#reasonObject

Returns the value of attribute reason.



217
218
219
# File 'lib/IceGrid/Exception.rb', line 217

def reason
  @reason
end

Instance Method Details

#to_sObject



213
214
215
# File 'lib/IceGrid/Exception.rb', line 213

def to_s
    'IceGrid::NodeUnreachableException'
end