Exception: Ice::BadMagicException
- Inherits:
-
ProtocolException
- Object
- StandardError
- Exception
- LocalException
- ProtocolException
- Ice::BadMagicException
- Defined in:
- lib/Ice/LocalException.rb
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.
667 668 669 670 |
# File 'lib/Ice/LocalException.rb', line 667 def initialize(reason='', badMagic=nil) super(reason) @badMagic = badMagic end |
Instance Attribute Details
#badMagic ⇒ Object
Returns the value of attribute badMagic.
676 677 678 |
# File 'lib/Ice/LocalException.rb', line 676 def badMagic @badMagic end |
Instance Method Details
#to_s ⇒ Object
672 673 674 |
# File 'lib/Ice/LocalException.rb', line 672 def to_s '::Ice::BadMagicException' end |