Exception: Ice::BadMagicException
- Inherits:
-
ProtocolException
- Object
- StandardError
- Exception
- LocalException
- ProtocolException
- Ice::BadMagicException
- Defined in:
- lib/Ice/LocalException.rb
Constant Summary collapse
- ICE_TYPE =
T_BadMagicException
Instance Attribute Summary collapse
-
#badMagic ⇒ Object
Returns the value of attribute badMagic.
Attributes inherited from ProtocolException
Instance Method Summary collapse
-
#initialize(reason = '', badMagic = nil) ⇒ BadMagicException
constructor
A new instance of BadMagicException.
- #to_s ⇒ Object
Methods inherited from Exception
Constructor Details
#initialize(reason = '', badMagic = nil) ⇒ BadMagicException
Returns a new instance of BadMagicException.
696 697 698 699 |
# File 'lib/Ice/LocalException.rb', line 696 def initialize(reason='', badMagic=nil) super(reason) @badMagic = badMagic end |
Instance Attribute Details
#badMagic ⇒ Object
Returns the value of attribute badMagic.
705 706 707 |
# File 'lib/Ice/LocalException.rb', line 705 def badMagic @badMagic end |
Instance Method Details
#to_s ⇒ Object
701 702 703 |
# File 'lib/Ice/LocalException.rb', line 701 def to_s 'Ice::BadMagicException' end |