Exception: Ice::BadMagicException

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

Instance Attribute Summary collapse

Attributes inherited from ProtocolException

#reason

Instance Method Summary collapse

Methods inherited from Exception

#ice_id, #ice_name, #inspect

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

#badMagicObject

Returns the value of attribute badMagic.



676
677
678
# File 'lib/Ice/LocalException.rb', line 676

def badMagic
  @badMagic
end

Instance Method Details

#to_sObject



672
673
674
# File 'lib/Ice/LocalException.rb', line 672

def to_s
    '::Ice::BadMagicException'
end