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, IllegalMessageSizeException, MarshalException, UnknownMessageException, UnknownReplyStatusException, UnknownRequestIdException, UnsupportedEncodingException, UnsupportedProtocolException
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.
651 652 653 |
# File 'lib/Ice/LocalException.rb', line 651 def initialize(reason='') @reason = reason end |
Instance Attribute Details
#reason ⇒ Object
Returns the value of attribute reason.
659 660 661 |
# File 'lib/Ice/LocalException.rb', line 659 def reason @reason end |
Instance Method Details
#to_s ⇒ Object
655 656 657 |
# File 'lib/Ice/LocalException.rb', line 655 def to_s '::Ice::ProtocolException' end |