Exception: IceGrid::AllocationException

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

Direct Known Subclasses

AllocationTimeoutException

Constant Summary collapse

ICE_TYPE =
T_AllocationException

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Ice::Exception

#ice_name, #inspect

Constructor Details

#initialize(reason = '') ⇒ AllocationException

Returns a new instance of AllocationException.



322
323
324
# File 'lib/IceGrid/Exception.rb', line 322

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

Instance Attribute Details

#reasonObject

Returns the value of attribute reason.



330
331
332
# File 'lib/IceGrid/Exception.rb', line 330

def reason
  @reason
end

Instance Method Details

#to_sObject



326
327
328
# File 'lib/IceGrid/Exception.rb', line 326

def to_s
    'IceGrid::AllocationException'
end