Exception: IceGrid::RegistryUnreachableException

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 = '') ⇒ RegistryUnreachableException

Returns a new instance of RegistryUnreachableException.



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

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

Instance Attribute Details

#nameObject

Returns the value of attribute name.



242
243
244
# File 'lib/IceGrid/Exception.rb', line 242

def name
  @name
end

#reasonObject

Returns the value of attribute reason.



242
243
244
# File 'lib/IceGrid/Exception.rb', line 242

def reason
  @reason
end

Instance Method Details

#to_sObject



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

def to_s
    '::IceGrid::RegistryUnreachableException'
end