Exception: IceBox::FailureException
- Inherits:
-
Ice::LocalException
- Object
- StandardError
- Ice::Exception
- Ice::LocalException
- IceBox::FailureException
- Defined in:
- lib/IceBox/IceBox.rb
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.
27 28 29 |
# File 'lib/IceBox/IceBox.rb', line 27 def initialize(reason='') @reason = reason end |
Instance Attribute Details
#reason ⇒ Object
Returns the value of attribute reason.
35 36 37 |
# File 'lib/IceBox/IceBox.rb', line 35 def reason @reason end |
Instance Method Details
#to_s ⇒ Object
31 32 33 |
# File 'lib/IceBox/IceBox.rb', line 31 def to_s '::IceBox::FailureException' end |