Exception: Ice::ProtocolException
- Inherits:
-
LocalException
- Object
- StandardError
- Exception
- LocalException
- Ice::ProtocolException
- Defined in:
- lib/Ice/LocalException.rb
Direct Known Subclasses
BadMagicException, CloseConnectionException, CompressionException, ConnectionNotValidatedException, DatagramLimitException, ForcedCloseConnectionException, IllegalMessageSizeException, MarshalException, UnknownMessageException, UnknownReplyStatusException, UnknownRequestIdException, UnsupportedEncodingException, UnsupportedProtocolException
Constant Summary collapse
- ICE_TYPE =
T_ProtocolException
Instance Attribute Summary collapse
-
#reason ⇒ Object
Returns the value of attribute reason.
Instance Method Summary collapse
-
#initialize(reason = '') ⇒ ProtocolException
constructor
A new instance of ProtocolException.
- #to_s ⇒ Object
Methods inherited from Exception
Constructor Details
#initialize(reason = '') ⇒ ProtocolException
Returns a new instance of ProtocolException.
679 680 681 |
# File 'lib/Ice/LocalException.rb', line 679 def initialize(reason='') @reason = reason end |
Instance Attribute Details
#reason ⇒ Object
Returns the value of attribute reason.
687 688 689 |
# File 'lib/Ice/LocalException.rb', line 687 def reason @reason end |
Instance Method Details
#to_s ⇒ Object
683 684 685 |
# File 'lib/Ice/LocalException.rb', line 683 def to_s 'Ice::ProtocolException' end |