Exception: IceBox::FailureException

Inherits:
Ice::LocalException show all
Defined in:
lib/IceBox/IceBox.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Ice::Exception

#ice_id, #ice_name, #inspect

Constructor Details

#initialize(reason = '') ⇒ FailureException

Returns a new instance of FailureException.



27
28
29
# File 'lib/IceBox/IceBox.rb', line 27

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

Instance Attribute Details

#reasonObject

Returns the value of attribute reason.



35
36
37
# File 'lib/IceBox/IceBox.rb', line 35

def reason
  @reason
end

Instance Method Details

#to_sObject



31
32
33
# File 'lib/IceBox/IceBox.rb', line 31

def to_s
    '::IceBox::FailureException'
end