Exception: IceBox::FailureException

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

Constant Summary collapse

ICE_TYPE =
T_FailureException

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Ice::Exception

#ice_name, #inspect

Constructor Details

#initialize(reason = '') ⇒ FailureException

Returns a new instance of FailureException.



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

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

Instance Attribute Details

#reasonObject

Returns the value of attribute reason.



40
41
42
# File 'lib/IceBox/IceBox.rb', line 40

def reason
  @reason
end

Instance Method Details

#to_sObject



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

def to_s
    'IceBox::FailureException'
end