Exception: IceGrid::AllocationException

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

Direct Known Subclasses

AllocationTimeoutException

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Ice::Exception

#ice_id, #ice_name, #inspect

Constructor Details

#initialize(reason = '') ⇒ AllocationException

Returns a new instance of AllocationException.



301
302
303
# File 'lib/IceGrid/Exception.rb', line 301

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

Instance Attribute Details

#reasonObject

Returns the value of attribute reason.



309
310
311
# File 'lib/IceGrid/Exception.rb', line 309

def reason
  @reason
end

Instance Method Details

#to_sObject



305
306
307
# File 'lib/IceGrid/Exception.rb', line 305

def to_s
    '::IceGrid::AllocationException'
end