Exception: IceBox::FailureException
- Inherits:
-
Ice::LocalException
- Object
- StandardError
- Ice::Exception
- Ice::LocalException
- IceBox::FailureException
- Defined in:
- lib/IceBox/IceBox.rb
Constant Summary collapse
- ICE_TYPE =
T_FailureException
Instance Attribute Summary collapse
-
#reason ⇒ Object
Returns the value of attribute reason.
Instance Method Summary collapse
-
#initialize(reason = '') ⇒ FailureException
constructor
A new instance of FailureException.
- #to_s ⇒ Object
Methods inherited from Ice::Exception
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
#reason ⇒ Object
Returns the value of attribute reason.
40 41 42 |
# File 'lib/IceBox/IceBox.rb', line 40 def reason @reason end |
Instance Method Details
#to_s ⇒ Object
36 37 38 |
# File 'lib/IceBox/IceBox.rb', line 36 def to_s 'IceBox::FailureException' end |