Exception: IceGrid::ServerUnreachableException

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

Constant Summary collapse

ICE_TYPE =
T_ServerUnreachableException

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Ice::Exception

#ice_name, #inspect

Constructor Details

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

Returns a new instance of ServerUnreachableException.



229
230
231
232
# File 'lib/IceGrid/Exception.rb', line 229

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

Instance Attribute Details

#nameObject

Returns the value of attribute name.



238
239
240
# File 'lib/IceGrid/Exception.rb', line 238

def name
  @name
end

#reasonObject

Returns the value of attribute reason.



238
239
240
# File 'lib/IceGrid/Exception.rb', line 238

def reason
  @reason
end

Instance Method Details

#to_sObject



234
235
236
# File 'lib/IceGrid/Exception.rb', line 234

def to_s
    'IceGrid::ServerUnreachableException'
end