Exception: IceGrid::RegistryUnreachableException

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

Constant Summary collapse

ICE_TYPE =
T_RegistryUnreachableException

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Ice::Exception

#ice_name, #inspect

Constructor Details

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

Returns a new instance of RegistryUnreachableException.



250
251
252
253
# File 'lib/IceGrid/Exception.rb', line 250

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

Instance Attribute Details

#nameObject

Returns the value of attribute name.



259
260
261
# File 'lib/IceGrid/Exception.rb', line 259

def name
  @name
end

#reasonObject

Returns the value of attribute reason.



259
260
261
# File 'lib/IceGrid/Exception.rb', line 259

def reason
  @reason
end

Instance Method Details

#to_sObject



255
256
257
# File 'lib/IceGrid/Exception.rb', line 255

def to_s
    'IceGrid::RegistryUnreachableException'
end