Exception: Ice::UnexpectedObjectException
- Inherits:
-
MarshalException
- Object
- StandardError
- Exception
- LocalException
- ProtocolException
- MarshalException
- Ice::UnexpectedObjectException
- Defined in:
- lib/Ice/LocalException.rb
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.
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
#expectedType ⇒ Object
Returns the value of attribute expectedType.
923 924 925 |
# File 'lib/Ice/LocalException.rb', line 923 def expectedType @expectedType end |
#type ⇒ Object
Returns the value of attribute type.
923 924 925 |
# File 'lib/Ice/LocalException.rb', line 923 def type @type end |
Instance Method Details
#to_s ⇒ Object
919 920 921 |
# File 'lib/Ice/LocalException.rb', line 919 def to_s '::Ice::UnexpectedObjectException' end |