Exception: Ice::UnexpectedObjectException

Inherits:
MarshalException 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 = '', type = '', expectedType = '') ⇒ UnexpectedObjectException

Returns a new instance of UnexpectedObjectException.



913
914
915
916
917
# File 'lib/Ice/LocalException.rb', line 913

def initialize(reason='', type='', expectedType='')
    super(reason)
    @type = type
    @expectedType = expectedType
end

Instance Attribute Details

#expectedTypeObject

Returns the value of attribute expectedType.



923
924
925
# File 'lib/Ice/LocalException.rb', line 923

def expectedType
  @expectedType
end

#typeObject

Returns the value of attribute type.



923
924
925
# File 'lib/Ice/LocalException.rb', line 923

def type
  @type
end

Instance Method Details

#to_sObject



919
920
921
# File 'lib/Ice/LocalException.rb', line 919

def to_s
    '::Ice::UnexpectedObjectException'
end