Exception: Ice::BadMagicException

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

Constant Summary collapse

ICE_TYPE =
T_BadMagicException

Instance Attribute Summary collapse

Attributes inherited from ProtocolException

#reason

Instance Method Summary collapse

Methods inherited from Exception

#ice_name, #inspect

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

#badMagicObject

Returns the value of attribute badMagic.



705
706
707
# File 'lib/Ice/LocalException.rb', line 705

def badMagic
  @badMagic
end

Instance Method Details

#to_sObject



701
702
703
# File 'lib/Ice/LocalException.rb', line 701

def to_s
    'Ice::BadMagicException'
end