Exception: IceGrid::ServerUnreachableException

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Ice::Exception

#ice_id, #ice_name, #inspect

Constructor Details

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

Returns a new instance of ServerUnreachableException.



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

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

Instance Attribute Details

#nameObject

Returns the value of attribute name.



222
223
224
# File 'lib/IceGrid/Exception.rb', line 222

def name
  @name
end

#reasonObject

Returns the value of attribute reason.



222
223
224
# File 'lib/IceGrid/Exception.rb', line 222

def reason
  @reason
end

Instance Method Details

#to_sObject



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

def to_s
    '::IceGrid::ServerUnreachableException'
end