Exception: Ice::UnexpectedObjectException
- Inherits:
-
MarshalException
- Object
- StandardError
- Exception
- LocalException
- ProtocolException
- MarshalException
- Ice::UnexpectedObjectException
- Defined in:
- lib/Ice/LocalException.rb
Constant Summary collapse
- ICE_TYPE =
T_UnexpectedObjectException
Instance Attribute Summary collapse
-
#expectedType ⇒ Object
Returns the value of attribute expectedType.
-
#type ⇒ Object
Returns the value of attribute type.
Attributes inherited from ProtocolException
Instance Method Summary collapse
-
#initialize(reason = '', type = '', expectedType = '') ⇒ UnexpectedObjectException
constructor
A new instance of UnexpectedObjectException.
- #to_s ⇒ Object
Methods inherited from Exception
Constructor Details
#initialize(reason = '', type = '', expectedType = '') ⇒ UnexpectedObjectException
Returns a new instance of UnexpectedObjectException.
956 957 958 959 960 |
# File 'lib/Ice/LocalException.rb', line 956 def initialize(reason='', type='', expectedType='') super(reason) @type = type @expectedType = expectedType end |
Instance Attribute Details
#expectedType ⇒ Object
Returns the value of attribute expectedType.
966 967 968 |
# File 'lib/Ice/LocalException.rb', line 966 def expectedType @expectedType end |
#type ⇒ Object
Returns the value of attribute type.
966 967 968 |
# File 'lib/Ice/LocalException.rb', line 966 def type @type end |
Instance Method Details
#to_s ⇒ Object
962 963 964 |
# File 'lib/Ice/LocalException.rb', line 962 def to_s 'Ice::UnexpectedObjectException' end |